git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
To: Pekka Riikonen <priikone@iki.fi>
Cc: git@vger.kernel.org
Subject: Re: Repository specific config file
Date: Sun, 7 Oct 2007 17:06:37 +0100 (BST)	[thread overview]
Message-ID: <Pine.LNX.4.64.0710071704550.4174@racer.site> (raw)
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

      reply	other threads:[~2007-10-07 16:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-07  8:37 Repository specific config file Pekka Riikonen
2007-10-07 16:06 ` Johannes Schindelin [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=Pine.LNX.4.64.0710071704550.4174@racer.site \
    --to=johannes.schindelin@gmx.de \
    --cc=git@vger.kernel.org \
    --cc=priikone@iki.fi \
    /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).