summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2012-11-20 10:14:55 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-11-20 10:14:55 -0800
commitcf48960b6dd5c0d8b8767fa0088bd166e619de57 (patch)
tree768fbd43352e95a6cdf42d68d2023ea1981c537f /Documentation
parentMerge branch 'as/maint-doc-fix-no-post-rewrite' into maint (diff)
parentDocument 'git commit --no-edit' explicitly (diff)
downloadtgif-cf48960b6dd5c0d8b8767fa0088bd166e619de57.tar.xz
Merge branch 'mm/maint-doc-commit-edit' into maint
* mm/maint-doc-commit-edit: Document 'git commit --no-edit' explicitly
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-commit.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/git-commit.txt b/Documentation/git-commit.txt
index 28a5aeba2f..15cec8601c 100644
--- a/Documentation/git-commit.txt
+++ b/Documentation/git-commit.txt
@@ -184,6 +184,11 @@ OPTIONS
commit log message unmodified. This option lets you
further edit the message taken from these sources.
+--no-edit::
+ Use the selected commit message without launching an editor.
+ For example, `git commit --amend --no-edit` amends a commit
+ without changing its commit message.
+
--amend::
Used to amend the tip of the current branch. Prepare the tree
object you would want to replace the latest commit as usual