* Maintaining commit.template config through clones
@ 2008-04-17 8:47 Toby Corkindale
2008-04-17 10:20 ` Johannes Sixt
0 siblings, 1 reply; 4+ messages in thread
From: Toby Corkindale @ 2008-04-17 8:47 UTC (permalink / raw)
To: git
Hi,
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?
thanks,
Toby
--
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Maintaining commit.template config through clones
2008-04-17 8:47 Maintaining commit.template config through clones Toby Corkindale
@ 2008-04-17 10:20 ` Johannes Sixt
2008-04-22 4:45 ` Toby Corkindale
0 siblings, 1 reply; 4+ messages in thread
From: Johannes Sixt @ 2008-04-17 10:20 UTC (permalink / raw)
To: Toby Corkindale; +Cc: git
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.
-- Hannes
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Maintaining commit.template config through clones
2008-04-17 10:20 ` Johannes Sixt
@ 2008-04-22 4:45 ` Toby Corkindale
2008-04-22 6:12 ` Johannes Sixt
0 siblings, 1 reply; 4+ messages in thread
From: Toby Corkindale @ 2008-04-22 4:45 UTC (permalink / raw)
To: Johannes Sixt; +Cc: git
Johannes Sixt wrote:
> 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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Maintaining commit.template config through clones
2008-04-22 4:45 ` Toby Corkindale
@ 2008-04-22 6:12 ` Johannes Sixt
0 siblings, 0 replies; 4+ messages in thread
From: Johannes Sixt @ 2008-04-22 6:12 UTC (permalink / raw)
To: Toby Corkindale; +Cc: git
Toby Corkindale schrieb:
> Johannes Sixt wrote:
>> 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)
No. You have to edit this file on each machine.
-- Hannes
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-04-22 6:13 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-17 8:47 Maintaining commit.template config through clones Toby Corkindale
2008-04-17 10:20 ` Johannes Sixt
2008-04-22 4:45 ` Toby Corkindale
2008-04-22 6:12 ` Johannes Sixt
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).