# Changes not staged for commit: # (use "git add <file>..." to update what will be committed) # (use "git checkout -- <file>..." to discard changes in working directory) # # unmerged: index.html # <<<<<<< HEAD:index.html <div id="footer">contact : [email protected]</div> ======= <div id="footer"> please contact us at [email protected] </div> >>>>>>> iss53:index.html
# Changes not staged for commit: # (use "git add <file>..." to update what will be committed) # (use "git checkout -- <file>..." to discard changes in working directory) # # unmerged: index.html # <<<<<<< HEAD:index.html <div id="footer">contact : [email protected]</div> ======= <div id="footer"> please contact us at [email protected] </div> >>>>>>> iss53:index.html Faye:Git_Plus_Plus[master]$ git push origin master fatal: remote error: You can't push to git:// github.com:benwoody/demo_git.git Use [email protected]:benwoody/demo_git.git
# (use "git add <file>..." to include in what will be committed) # # curly.png # kanban_board.jpg nothing added to commit but untracked files present (use "git add" to track) Faye:Git_Plus_Plus[add_login]$ git add . Faye:Git_Plus_Plus[add_login]$ git status # On branch master # Changes to be committed: # (use "git reset HEAD <file>..." to unstage) # # new file: curly.png # new file: kanban_board.jpg # Faye:Git_Plus_Plus[add_login]$ git commit ?
error: failed to push some refs to '[email protected]:benwoody/demo_repo.git' To prevent you from losing history, non-fast-forward updates were rejected Merge the remote changes before pushing again. See the 'non-fast forward' Faye:demo_repo[fixed_headers]$ git wtf?!?!!!11!!1
error: failed to push some refs to '[email protected]:benwoody/demo_repo.git' To prevent you from losing history, non-fast-forward updates were rejected Merge the remote changes before pushing again. See the 'non-fast forward' Faye:demo_repo[fixed_headers]$ git wtf?!?!!!11!!1 Faye:demo_repo[fixed_headers]$ git fetch remote: Counting objects: 52, done. remote: Compressing objects: 100% (18/18), done. remote: Total 51 (delta 30), reused 50 (delta 29) Unpacking objects: 100% (51/51), done. From github.com:benwoody/demo_repo c2a78ae..2e472ae master -> origin/master Faye:demo_repo[fixed_headers]$ git checkout master Switched to branch 'master' Faye:demo_repo[master]$ git rebase origin/master First, rewinding head to replay your work on top of it... Applying: hey now! Using index info to reconstruct a base tree... Falling back to patching base and 3-way merge... Applying: added images Faye:demo_repo[master]$ git checkout fixed_headers Switched to branch 'fixed_headers' Faye:demo_repo[fixed_headers]$ git rebase master First, rewinding head to replay your work on top of it... Applying: added staged command
- [e]dit to mark a commit for amending. - [r]eword to change the log message. - [s]quash to merge a commit with the previous one. - [p]ick to include this commit into history - [f]ixup to merge a commit with the previous one and discard the log message.
for tests s 355749c fixed some typos in tests s c963ba4 tests passing. working on signin reset method s dc2d50c red. green. refactor! s 71d5e53 bad call to block s 8811459 now using block_given? s eda3a0c one more test to go s 26ab78d cleaning up more typos before the push to github s 316e6b7 Headers fixed. Cleans up issue 22 # Rebase 7aedc06..316e6b7 onto 7aedc06 # # Commands: # p, pick = use commit # r, reword = use commit, but edit the commit message # e, edit = use commit, but stop for amending # s, squash = use commit, but meld into previous commit # f, fixup = like "squash", but discard this commit's log message # x, exec = run command (the rest of the line) using shell # # These lines can be re-ordered; they are executed from top to bottom. #