git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: commit.template

From
Boyd Stephen Smith Jr. <bss@iguanasuicide.net>
Date
Dec 27, 2008, 01:48 UTC
Message-ID
<200812261948.58032.bss@iguanasuicide.net>
In-Reply-To
<874p0qsa2h.fsf@jidanni.org>
On Friday 2008 December 26 19:04:06 jidanni@jidanni.org wrote:
> OK, but there should be a reference to any %escapes available in
> templates, etc.
There are none, at least not right now.
> Or say the template is purely and additional ".signature" style file
> that will be inserted at some certain spot...
There's what it says:
"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. [...] This overrides the commit.template
configuration variable."
	-- 'git commit --help'

What isn't clear about that? It's not an *extra* file; it is the template (what you start with) for commit messages.

-- 
Boyd Stephen Smith Jr.                     ,= ,-_-. =. 
bss@iguanasuicide.net                     ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy           `-'(. .)`-' 
http://iguanasuicide.net/                      \_/     
Previous: jidanni@jidanni.orgNext: jidanni@jidanni.org
Message 13 of 19 in “gitrepository-layout: No longer first two letters. Also add "down".”
  1. gitrepository-layout: No longer first two letters. Also add "down".jidanni@jidanni.org, Dec 26, 2008
  2. Junio C HamanoDec 26, 2008
  3. jidanni@jidanni.orgDec 26, 2008
  4. Junio C HamanoDec 26, 2008
  5. jidanni@jidanni.orgDec 26, 2008
  6. Nanako ShiraishiDec 26, 2008
  7. commit.templatejidanni@jidanni.org, Dec 26, 2008
  8. Junio C HamanoDec 26, 2008
  9. Boyd Stephen Smith Jr.Dec 26, 2008
  10. jidanni@jidanni.orgDec 27, 2008
  11. Boyd Stephen Smith Jr.Dec 27, 2008
  12. jidanni@jidanni.orgDec 27, 2008
  13. Boyd Stephen Smith Jr.Dec 27, 2008
  14. jidanni@jidanni.orgDec 27, 2008
  15. Nanako ShiraishiDec 27, 2008
  16. Junio C HamanoDec 27, 2008
  17. Junio C HamanoDec 27, 2008
  18. Sverre RabbelierDec 28, 2008
  19. Nanako ShiraishiDec 29, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.