Skip to content

Commit ae45320

Browse files
moypeff
authored andcommitted
Document 'git commit --no-edit' explicitly
Signed-off-by: Matthieu Moy <[email protected]> Signed-off-by: Jeff King <[email protected]>
1 parent 7e20105 commit ae45320

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Documentation/git-commit.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,11 @@ OPTIONS
184184
commit log message unmodified. This option lets you
185185
further edit the message taken from these sources.
186186

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+
187192
--amend::
188193
Used to amend the tip of the current branch. Prepare the tree
189194
object you would want to replace the latest commit as usual

0 commit comments

Comments
 (0)