Merge branch 'mm/maint-doc-commit-edit'

* mm/maint-doc-commit-edit:
  Document 'git commit --no-edit' explicitly
maint
Junio C Hamano 2012-11-15 10:24:44 -08:00
commit 6b34d6e692
1 changed files with 5 additions and 0 deletions

View File

@ -188,6 +188,11 @@ OPTIONS
commit log message unmodified. This option lets you commit log message unmodified. This option lets you
further edit the message taken from these sources. 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:: --amend::
Used to amend the tip of the current branch. Prepare the tree Used to amend the tip of the current branch. Prepare the tree
object you would want to replace the latest commit as usual object you would want to replace the latest commit as usual