Re: [RFC 2/2] Automatically transform .git/{branches,remotes} into .git/config
- From
Junio C Hamano <junkio@cox.net>
- Date
- Nov 28, 2005, 09:14 UTC
- Message-ID
- <7vpsolxhg8.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <438AC32E.5010100@op5.se>
Andreas Ericsson <ae@op5.se> writes:
> I'd still like to see git-repo-config and git-user-config. Otherwise > we'll need to continue having user-based environment variables > (GIT_COMMITTER_IDENT and friends).
Since .git/config is not shared across repositories even on clone (and is deliberately so), "git-repo-config user.name" is for you to set *your* name.
Having said that, GIT_COMMITTER_IDENT and friends are there to stay, because that is how you override what you get from the config file per commit, which is needed for people playing the integrator role. When one is playing an individual developer role, user.name or even not having any and relying on GECOS is often good enough.