Skip to content

Commit

Permalink
Document 'git commit --no-edit' explicitly
Browse files Browse the repository at this point in the history
Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Jeff King <peff@peff.net>
  • Loading branch information
Matthieu Moy authored and Jeff King committed Nov 2, 2012
1 parent 7e20105 commit ae45320
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Documentation/git-commit.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ae45320

Please sign in to comment.