mirror of
https://github.com/git/git.git
synced 2024-11-24 10:26:17 +08:00
Merge branch 'mm/maint-doc-commit-edit' into maint
* mm/maint-doc-commit-edit: Document 'git commit --no-edit' explicitly
This commit is contained in:
commit
cf48960b6d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user