X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fgit-reset.txt;h=5b55cda512bbdb507486ac5d0db0d28e32b1dcb1;hb=50cfde14531a5b354bbc3a070fe39c1ee86e2915;hp=4f424782ebbd90572793a86bce862f3b856f56e0;hpb=240897e908e48e8f8c8d5555522afe255b3b734b;p=git.git diff --git a/Documentation/git-reset.txt b/Documentation/git-reset.txt index 4f424782e..5b55cda51 100644 --- a/Documentation/git-reset.txt +++ b/Documentation/git-reset.txt @@ -94,11 +94,11 @@ current HEAD. <2> Rewind the master branch to get rid of those three commits. <3> Switch to "topic/wip" branch and keep working. -Undo update-index:: +Undo add:: + ------------ $ edit <1> -$ git-update-index frotz.c filfre.c +$ git add frotz.c filfre.c $ mailx <2> $ git reset <3> $ git pull git://info.example.com/ nitfol <4> @@ -121,10 +121,6 @@ Undo a merge or pull:: + ------------ $ git pull <1> -Trying really trivial in-index merge... -fatal: Merge requires file-level merging -Nope. -... Auto-merging nitfol CONFLICT (content): Merge conflict in nitfol Automatic merge failed/prevented; fix up by hand