зеркало из https://github.com/microsoft/git.git
Document 'git commit --no-edit' explicitly
Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr> Signed-off-by: Jeff King <peff@peff.net>
This commit is contained in:
Родитель
7e2010537e
Коммит
ae45320c40
|
@ -184,6 +184,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
|
||||||
|
|
Загрузка…
Ссылка в новой задаче