Re: [PATCH] Use new .git/config for storing "origin" shortcut repository
- From
Junio C Hamano <junkio@cox.net>
- Date
- Nov 26, 2006, 03:52 UTC
- Message-ID
- <7vzmaeyie6.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <Pine.LNX.4.63.0611260141390.30004@wbgn013.biozentrum.uni-wuerzburg.de>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
> This hunk is wrong: "git-repo-config remote.bla.fetch b" will _overwrite_ > remoter.bla.fetch. To avoid that, you have to use "git repo-config > remote.bla.fetch b ^$". (The last argument is a regular expression which > has to be matched by the value-to-be-oreplaced.)
Yup, one of the joys of working the config file everybody seems to like ;-).