Git in PLD - basic HOWTO

Kacper Kornet kornet at camk.edu.pl
Tue Jul 10 16:14:48 CEST 2012


On Tue, Jul 10, 2012 at 05:06:57PM +0300, Caleb Maclennan wrote:
> 2012/7/10 Mariusz Mazur <mmazur at kernel.pl>:
> > Or one can alias the 'git' command to a simple script that checks for
> > .git/config, check if remote origin is git.pld-linux.org and if so, uses a
> > different user.email.

> > Hm, I could use that. Wonder if anyone already wrote it.

> I thought of that too and could code it up, but as I thought about it,
> it seemed like something somebody else would already have done long
> ago. I just couldn't figure out what to search for to find a canonical
> solution.

There was a suggestion to add run-time conditional sections to
configuration files, but it was rejected because that part of code is
heavily used:

http://thread.gmane.org/gmane.comp.version-control.git/181998/focus=182204

-- 
  Kacper


More information about the pld-devel-en mailing list