Document 'git commit --no-edit' explicitly
Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr> Signed-off-by: Jeff King <peff@peff.net>
Matthieu Moy committed
Nov 2, 2012 at 11:39 UTC
ae45320c40e255362b39f6ff609f759927fbd096
1 file changed
+5
Documentation/git-commit.txt
+5
@@ -184,6 +184,11 @@ OPTIONS
184
commit log message unmodified. This option lets you
185
further edit the message taken from these sources.
186
187
+--no-edit::
188
+ Use the selected commit message without launching an editor.
189
+ For example, `git commit --amend --no-edit` amends a commit
190
+ without changing its commit message.
191
+
192
--amend::
193
Used to amend the tip of the current branch. Prepare the tree
194
object you would want to replace the latest commit as usual