mirror of
https://github.com/git/git.git
synced 2025-03-16 09:35:23 +00:00
Documentation/git-commit: rephrase the "initial-ness" of templates
The description of "commit -t <file>" said the file is used "as the initial version" of the commit message, but in the context of an SCM, "version" is a loaded word that can needlesslyl confuse readers. Explain the purpose of the mechanism without using "version". Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
b0ad5e2780
commit
1f08c2c825
@ -132,11 +132,14 @@ OPTIONS
|
|||||||
|
|
||||||
-t <file>::
|
-t <file>::
|
||||||
--template=<file>::
|
--template=<file>::
|
||||||
Use the contents of the given file as the initial version of the
|
When editing the commit message, start the editor with the
|
||||||
commit message. The editor is invoked so you can make subsequent
|
contents in the given file. The `commit.template` configuration
|
||||||
changes. If you make no changes, the commit is aborted. If a message
|
variable is often used to give this option implicitly to the
|
||||||
is specified using the `-m` or `-F` options, this option has no
|
command. This mechanism can be used by projects that want to
|
||||||
effect. This overrides the `commit.template` configuration variable.
|
guide participants with some hints on what to write in the message
|
||||||
|
in what order. If the user exits the editor without editing the
|
||||||
|
message, the commit is aborted. This has no effect when a message
|
||||||
|
is given by other means, e.g. with the `-m` or `-F` options.
|
||||||
|
|
||||||
-s::
|
-s::
|
||||||
--signoff::
|
--signoff::
|
||||||
|
Loading…
x
Reference in New Issue
Block a user