Re: [PATCH 0/2] Create a shared config file
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- Nov 27, 2010, 16:04 UTC
- Message-ID
- <AANLkTi=6Q_MB-5kjZLCha30h0A4qdjhLhWUY0mLuCuoc@mail.gmail.com>
- In-Reply-To
- <cover.1290870041.git.nathan.panike@gmail.com>
On Sat, Nov 27, 2010 at 10:00 PM, Nathan W. Panike <nathan.panike@gmail.com> wrote:
Show 5 quoted lines
> Configuration should normally be on a per-repository or per-user basis. There > are cases where it would be helpful to have a project share configuration > across repositories and between developers. Normally this happens only via > e-mail or IRC or by word-of-mouth. The solution implemented by these patches > is to have a .gitconfig file in the toplevel of the repository.
Or save the shared config in the repository and add an instruction in $GIT_DIR/config to include such config blob. We can worry less about malicious config that way. If you are extremely nervous about it, you can always point to a specific blob that you have checked.
-- Duy