Skip to content

Commit

Permalink
Merge branch 'mm/maint-doc-commit-edit'
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
Junio C Hamano committed Nov 15, 2012
2 parents 80b2234 + ae45320 commit 6b34d6e
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 @@ -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
Expand Down

0 comments on commit 6b34d6e

Please sign in to comment.