git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Feature request: read git config from parent directory
@ 2016-12-08 19:49 Dominique Dumont
  2016-12-09 12:38 ` Duy Nguyen
  0 siblings, 1 reply; 3+ messages in thread
From: Dominique Dumont @ 2016-12-08 19:49 UTC (permalink / raw)
  To: git

Hello

I use the same machine for work and open-source contribution. In both cases, I 
deal with a lot of repositories. Depending on whether I commit for work or 
open-source activities, I must use a different mail address. I used to setup 
work address for each work repo in git local config, but this is no longer 
practical.

Since I use different directories for work and open-source, would it be 
possible for git to read irs config also from parent directories ? I.e. setup 
git to read config from ./.git/config then ../.gitconfig, ../../gitconfig until 
global ~/.gitconfig.

All the best

-- 
 https://github.com/dod38fr/   -o- http://search.cpan.org/~ddumont/
http://ddumont.wordpress.com/  -o-   irc: dod at irc.debian.org

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-12-10 11:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-08 19:49 Feature request: read git config from parent directory Dominique Dumont
2016-12-09 12:38 ` Duy Nguyen
2016-12-10 11:16   ` Dominique Dumont

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