From: Ramkumar Ramachandra Date: Sat, 08 Jan 2011 07:39:30 GMT Subject: Re: different name and email address depending on folder Message-ID: <20110108073928.GD27334@kytes> In-Reply-To: <3178E076-FA22-4C3C-BEB2-2581A0E12086@gmail.com> Hi Rich, Rich Eakin writes: > I am using git for development with a company and myself on the same computer and the name / user fields need to be different for each. As I keep all my company's repos in one directory and my private stuff in another, I was wondering if there is a way to tell git to use a separate user and email whenever I make commits from within a specified directory. Yes. Please see the 'user.name' and 'user.email' configuration options in git-config(1). You can set them globally or on a per-repository basis. -- Ram