Document 'git commit --no-edit' explicitly
authorMatthieu Moy <Matthieu.Moy@imag.fr>
Fri, 2 Nov 2012 10:39:30 +0000 (11:39 +0100)
committerJeff King <peff@peff.net>
Fri, 2 Nov 2012 11:49:28 +0000 (07:49 -0400)
Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Jeff King <peff@peff.net>
Documentation/git-commit.txt
index 9594ac8e9de9645be71b1528dcb94705f1695283..694c56f78358f922c2b247d87d2ac7a6298656da 100644 (file)
@@ -184,6 +184,11 @@ OPTIONS
        commit log message unmodified.  This option lets you
        further edit the message taken from these sources.
 
        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
 --amend::
        Used to amend the tip of the current branch. Prepare the tree
        object you would want to replace the latest commit as usual