aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/git-commit.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-11-15 10:24:44 -0800
committerJunio C Hamano <gitster@pobox.com>2012-11-15 10:24:44 -0800
commit6b34d6e692b751e7f62ea7bdce86a641c9b72468 (patch)
tree2820e2aeeedc682b65eba19707609f959511a3b5 /Documentation/git-commit.txt
parent80b2234e9b3991a8e4ac729b985d2d245de98d8e (diff)
parentae45320c40e255362b39f6ff609f759927fbd096 (diff)
downloadgit-6b34d6e692b751e7f62ea7bdce86a641c9b72468.tar.gz
Merge branch 'mm/maint-doc-commit-edit'
* mm/maint-doc-commit-edit: Document 'git commit --no-edit' explicitly
Diffstat (limited to 'Documentation/git-commit.txt')
-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 b620aae411..7bdb039d5e 100644
--- a/Documentation/git-commit.txt
+++ b/Documentation/git-commit.txt
@@ -188,6 +188,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