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

Re: Repository specific config file

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Oct 7, 2007, 16:06 UTC
Message-ID
<Pine.LNX.4.64.0710071704550.4174@racer.site>
In-Reply-To
<Pine.NEB.4.64.0710070956340.12867@otaku.Xtrmntr.org>
Hi,
On Sun, 7 Oct 2007, Pekka Riikonen wrote:
> Has there been any discussion or considerations adding a repository 
> specific config file that would be delivered to all cloned repositories 
> automatically? This would allow the publisher of the repository to set 
> up some default settings to all developers cloning the repository.

Sure! Just check in the file "gitconfig" and tell the good users that they can append it to their config with "cat gitconfig >> .git/config".

Or have a script "gitconfig.sh" containing calls to "git config" which the users can execute.

But you should not _force_ people to have a certain config. It's their choice.

Ciao, Dscho

Previous: Pekka Riikonen
Message 2 of 2 in “Repository specific config file”
  1. Pekka RiikonenOct 7, 2007
  2. Johannes SchindelinOct 7, 2007

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.