Merge branch 'jc/fetch-tags-doc'
[gitweb.git] / Documentation / git-commit.txt
index b620aae411499170c63b92f1c7e80793fcc0de5b..7bdb039d5ee9c6ed6c19c70173c733860de2d5b7 100644 (file)
@@ -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