aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/git-commit.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-06-29 09:25:51 -0700
committerJunio C Hamano <gitster@pobox.com>2011-06-29 09:25:51 -0700
commit347231f7352a4caac8bd95924c20afde4455c89c (patch)
tree6c3fd7829891c5292f58bacbc969212d9e14c01c /Documentation/git-commit.txt
parentf696543dad6c7ba27b0c4fab167a5687263a9ba0 (diff)
parent565e135a1e5fc393f764415a4724f43cc07f4da6 (diff)
downloadgit-347231f7352a4caac8bd95924c20afde4455c89c.tar.gz
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,