summaryrefslogtreecommitdiffstats
path: root/Documentation/git-commit.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-06-29 18:25:51 +0200
committerJunio C Hamano <gitster@pobox.com>2011-06-29 18:25:51 +0200
commit347231f7352a4caac8bd95924c20afde4455c89c (patch)
tree6c3fd7829891c5292f58bacbc969212d9e14c01c /Documentation/git-commit.txt
parentGit 1.7.6 (diff)
parentDocumentation: quote double-dash for AsciiDoc (diff)
downloadgit-347231f7352a4caac8bd95924c20afde4455c89c.tar.xz
git-347231f7352a4caac8bd95924c20afde4455c89c.zip
Merge branch 'jn/maint-doc-dashdash' into jn/doc-dashdash
* jn/maint-doc-dashdash: Documentation: quote double-dash for AsciiDoc
Diffstat (limited to 'Documentation/git-commit.txt')
-rw-r--r--Documentation/git-commit.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/git-commit.txt b/Documentation/git-commit.txt
index 7951cb7b00..5cc84a1391 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 -- <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,