Re: [PATCH 2/2] repo-config: learn the flag "--no-local"
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jun 8, 2006, 21:03 UTC
- Message-ID
- <Pine.LNX.4.63.0606082300390.28654@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <e6a2rt$n6p$1@sea.gmane.org>
Hi,
On Thu, 8 Jun 2006, Jakub Narebski wrote:
Show 10 quoted lines
> Johannes Schindelin wrote: > > > BTW it is the same reason I would rather not see /etc/gitconfig: it > > meddles with an existing configuration. If you want to give defaults, you > > can use a skeleton for $HOME, and templates for $GIT_DIR. As a user, I > > would be very surprised if the behaviour of git changed from one day to > > the other without my changing anything. > > I agree wholeheartily. I guess that the 'skeleton' part has yet to be > written...
I don't know what exactly you mean: the skeleton copying part, or the default .gitconfig?
As for the skeleton copying part, on the machine I am writing this on, there is a /etc/skel/ directory, which is automatically copied to the $HOME of every newly created user.
As for the default .gitconfig (which you could put into /etc/skel/): if the default behaviour of git is not to your liking, just make a $HOME/.gitconfig, and once you are satisfied with it, stick a copy into /etc/skel!
Ciao, Dscho