X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fgit-commit.txt;h=5cc84a139133dca2fdcb594007c8b0d6464d5ca8;hb=a574c04fbfa06d9b40c4c32db27135c503da7c15;hp=7951cb7b005bf472c449a563d073036ceb8b921a;hpb=3503b8d0da61d920ebd9294fd6a9a0f758328fd3;p=git.git diff --git a/Documentation/git-commit.txt b/Documentation/git-commit.txt index 7951cb7b0..5cc84a139 100644 --- a/Documentation/git-commit.txt +++ b/Documentation/git-commit.txt @@ -284,7 +284,7 @@ When recording your own work, the contents of modified files in your working tree are temporarily stored to a staging area called the "index" with 'git add'. A file can be reverted back, only in the index but not in the working tree, -to that of the last commit with `git reset HEAD -- `, +to that of the last commit with `git reset HEAD \-- `, which effectively reverts 'git add' and prevents the changes to this file from participating in the next commit. After building the state to be committed incrementally with these commands,