summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorMatthieu Moy <Matthieu.Moy@imag.fr>2012-11-02 10:39:30 (GMT)
committerJeff King <peff@peff.net>2012-11-02 11:49:28 (GMT)
commitae45320c40e255362b39f6ff609f759927fbd096 (patch)
treeafe71156da3965792e94228282470ff8a6c6ab6f /Documentation
parent7e2010537e96d0a1144520222f20ba1dc3d61441 (diff)
downloadgit-ae45320c40e255362b39f6ff609f759927fbd096.zip
git-ae45320c40e255362b39f6ff609f759927fbd096.tar.gz
git-ae45320c40e255362b39f6ff609f759927fbd096.tar.bz2
Document 'git commit --no-edit' explicitly
Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr> Signed-off-by: Jeff King <peff@peff.net>
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 9594ac8..694c56f 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