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

Re: Maintaining commit.template config through clones

From
TCToby Corkindale <toby.corkindale@rea-group.com>
Date
Apr 22, 2008, 04:45 UTC
Message-ID
<480D6D6C.7040708@rea-group.com>
In-Reply-To
<48072458.70005@viscovery.net>
Johannes Sixt wrote:
Show 11 quoted lines
> Toby Corkindale schrieb:
>> I'm attempting to implement Git at our company, and we currently use a
>> commit template for CVS. I can convert this to a Git-formatted template,
>> and set it for use with git-config commit.template ....
>>
>> However, once the repository is cloned, this configuration option
>> vanishes from .git/config
>>
>> Is there a way to make configuration options sticky?
> 
> Create or edit $prefix/share/git-core/templates/config.

Thanks. Will that keep the commit-template propagated even when the repo is cloned from another machine? (ie. using git: or ssh: methods)

tjc.
-- 
Toby Corkindale
Software developer
w: www.rea-group.com
REA Group refers to realestate.com.au Ltd (ASX:REA)

Warning - This e-mail transmission may contain confidential information.
If you have received this transmission in error, please notify us
immediately on (61 3) 9897 1121 or by reply email to the sender. You
must destroy the e-mail immediately and not use, copy, distribute or
disclose the contents.
Previous: Johannes SixtNext: Johannes Sixt
Message 3 of 4 in “Maintaining commit.template config through clones”
  1. Toby CorkindaleApr 17, 2008
  2. Johannes SixtApr 17, 2008
  3. Toby CorkindaleApr 22, 2008
  4. Johannes SixtApr 22, 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.