Skip to content

Commit

Permalink
Merge branch 'mm/maint-doc-commit-edit' into maint
Browse files Browse the repository at this point in the history
* mm/maint-doc-commit-edit:
  Document 'git commit --no-edit' explicitly
  • Loading branch information
gitster committed Nov 20, 2012
2 parents cdcd793 + ae45320 commit cf48960
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Documentation/git-commit.txt
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 cf48960

Please sign in to comment.