summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 654a7cc)
raw | patch | inline | side by side (parent: 654a7cc)
author | Brian Gernhardt <benji@silverinsanity.com> | |
Thu, 26 Jul 2007 20:34:59 +0000 (16:34 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 26 Jul 2007 23:57:24 +0000 (16:57 -0700) |
Add it to the list in config.txt and explicitly say that the
--template option to git-commit overrides the configuration variable.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
--template option to git-commit overrides the configuration variable.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config.txt | patch | blob | history | |
Documentation/git-commit.txt | patch | blob | history |
index dd98d95d9748cdcb4fd0926a049b4a68dad47a73..3135cb7a66814a5764891641f300be07681c551e 100644 (file)
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
or `untracked` (files which are not tracked by git). The values of
these variables may be specified as in color.branch.<slot>.
+commit.template::
+ Specify a file to use as the template for new commit messages.
+
diff.renameLimit::
The number of files to consider when performing the copy/rename
detection; equivalent to the git diff option '-l'.
index 3f36c6782fff2993d83fb2134234f263b0f33120..627994eb9727379183c40dde786b80c53d3e2af3 100644 (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. The
- template file may also be specified using the `commit.template`
- configuration variable.
+ the `-m` or `-F` options, this option has no effect. This
+ overrides the `commit.template` configuration variable.
-s|--signoff::
Add Signed-off-by line at the end of the commit message.