summaryrefslogtreecommitdiffstats
path: root/git-commit.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junio@kernel.org>2011-07-13 23:51:56 +0000
committerJunio C Hamano <junio@kernel.org>2011-07-13 23:51:56 +0000
commit360e3a1e2a1605a257fceaa3f9a5cd99ce19f0f6 (patch)
treebc06dbf2b7efe1c3cde933f43e6f92fae86e870d /git-commit.txt
parentc652aed8923d6b63b98c910666b861a766217891 (diff)
downloadgit-htmldocs-360e3a1e2a1605a257fceaa3f9a5cd99ce19f0f6.tar.gz
Autogenerated HTML docs for v1.7.6-178-g55272
Diffstat (limited to 'git-commit.txt')
-rw-r--r--git-commit.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-commit.txt b/git-commit.txt
index 7951cb7b0..5cc84a139 100644
--- a/git-commit.txt
+++ b/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 -- <file>`,
+to that of the last commit with `git reset HEAD \-- <file>`,
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,