Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'mm/maint-doc-commit-edit'
author
Junio C Hamano
<gitster@pobox.com>
Thu, 15 Nov 2012 18:24:44 +0000
(10:24 -0800)
committer
Junio C Hamano
<gitster@pobox.com>
Thu, 15 Nov 2012 18:24:44 +0000
(10:24 -0800)
* mm/maint-doc-commit-edit:
Document 'git commit --no-edit' explicitly
Documentation/git-commit.txt
patch
|
blob
|
history
raw
(from parent 1:
80b2234
)
diff --git
a/Documentation/git-commit.txt
b/Documentation/git-commit.txt
index b620aae411499170c63b92f1c7e80793fcc0de5b..7bdb039d5ee9c6ed6c19c70173c733860de2d5b7 100644
(file)
--- 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