From: "Neal Kreitzinger" <neal@rsss.com>
To: git@vger.kernel.org
Subject: Re: Propagating config to clones/pulls
Date: Tue, 7 Sep 2010 16:36:23 -0500 [thread overview]
Message-ID: <i66bas$q4t$1@dough.gmane.org> (raw)
In-Reply-To: A8F08AD5-6DB5-4A4D-9A8F-79DDBD93E666@getgosu.com
"Douglas Tan" <douglas@getgosu.com> wrote in message
news:A8F08AD5-6DB5-4A4D-9A8F-79DDBD93E666@getgosu.com...
>I have some config settings that I'll like to make default for anyone
>cloning/pulling from the central remote bare repository. I've tried to do
>this by editing the config file in the bare repository on the server but
>the change doesn't appear when cloning. How can I go about pushing default
>config settings to anyone cloing or pulling from the repository?--
Based on the assumption that your "child" repos are supposed to have the
same .git/config files, I tried using git-init --template=x with a config
file in template directory "x", but git-init only picks up the config file
on an initialization of a new repo, not on a reinitialization of an existing
repo.
v/r,
Neal
prev parent reply other threads:[~2010-09-07 21:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-07 8:56 Propagating config to clones/pulls Douglas Tan
2010-09-07 9:23 ` Thomas Rast
2010-09-07 11:05 ` David Aguilar
2010-09-08 3:08 ` Douglas Tan
2010-09-07 21:36 ` Neal Kreitzinger [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='i66bas$q4t$1@dough.gmane.org' \
--to=neal@rsss.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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 NNTP newsgroup(s).