X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fgit-reset.txt;h=52aab5e68002cbc2f132f57997ecbeb48de998c3;hb=29b802aae6213d02879d21aabac1a8d2e035b583;hp=0b368b39eef1808ec5f8becb3664af22329b8b69;hpb=1ceb95c8041cad1c25c73fd08e8c0c7ee28cf704;p=git.git diff --git a/Documentation/git-reset.txt b/Documentation/git-reset.txt index 0b368b39e..52aab5e68 100644 --- a/Documentation/git-reset.txt +++ b/Documentation/git-reset.txt @@ -37,7 +37,7 @@ OPTIONS --soft:: Does not touch the index file nor the working tree at all, but requires them to be in a good order. This leaves all your changed - files "Changes to be committed", as linkgit:git-status[1] would + files "Changes to be committed", as 'git-status' would put it. --hard:: @@ -82,7 +82,9 @@ $ git reset --hard HEAD~3 <1> + <1> The last three commits (HEAD, HEAD^, and HEAD~2) were bad and you do not want to ever see them again. Do *not* do this if -you have already given these commits to somebody else. +you have already given these commits to somebody else. (See the +"RECOVERING FROM UPSTREAM REBASE" section in linkgit:git-rebase[1] for +the implications of doing so.) Undo a commit, making it a topic branch:: +