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

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 ;-).

Previous: Johannes SchindelinNext: Johannes Schindelin
Message 3 of 6 in “Use new .git/config for storing "origin" shortcut repository”
  1. Use new .git/config for storing "origin" shortcut repositoryAndy Parkins, Nov 26, 2006
  2. Johannes SchindelinNov 26, 2006
  3. Junio C HamanoNov 26, 2006
  4. Johannes SchindelinNov 26, 2006
  5. Andy ParkinsNov 26, 2006
  6. Shawn PearceNov 26, 2006

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.