summaryrefslogtreecommitdiffstats
path: root/git-commit.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-04-16 14:18:54 -0700
committerJunio C Hamano <gitster@pobox.com>2012-04-16 14:18:54 -0700
commit51f87dece8f318fbbab44d61990cf9e8f0de07e8 (patch)
treea4989896ce8e63b3a64636e2c650ffd98b20beee /git-commit.txt
parent7549c1439042f62ccdbe770adc4905885c4df322 (diff)
downloadgit-htmldocs-51f87dece8f318fbbab44d61990cf9e8f0de07e8.tar.gz
Autogenerated HTML docs for v1.7.10-207-g0bb2e
Diffstat (limited to 'git-commit.txt')
-rw-r--r--git-commit.txt13
1 files changed, 8 insertions, 5 deletions
diff --git a/git-commit.txt b/git-commit.txt
index 5cc84a139..68abfcacc 100644
--- a/git-commit.txt
+++ b/git-commit.txt
@@ -132,11 +132,14 @@ OPTIONS
-t <file>::
--template=<file>::
- Use the contents of the given file as the initial version
- of the commit message. The editor is invoked and you can
- make subsequent changes. If a message is specified using
- the `-m` or `-F` options, this option has no effect. This
- overrides the `commit.template` configuration variable.
+ When editing the commit message, start the editor with the
+ contents in the given file. The `commit.template` configuration
+ variable is often used to give this option implicitly to the
+ command. This mechanism can be used by projects that want to
+ 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::
--signoff::