X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=Documentation%2Fgit-commit.txt;h=8b91f221fe0ea4dacd1f373fbd90d023ddc766b3;hb=e4e79a217576d24ef4d73b620766f62b155bcd98;hp=b92cf483152d7d393b20537d5407479aa13fefc1;hpb=a9572072f0ab0ac97e64b0dc01254a3ad95befe1;p=git.git diff --git a/Documentation/git-commit.txt b/Documentation/git-commit.txt index b92cf483..8b91f221 100644 --- a/Documentation/git-commit.txt +++ b/Documentation/git-commit.txt @@ -66,6 +66,10 @@ OPTIONS Update specified paths in the index file before committing. +If you make a commit and then found a mistake immediately after +that, you can recover from it with gitlink:git-reset[1]. + + Author ------ Written by Linus Torvalds and