From: Ramkumar Ramachandra <artagnon@gmail.com>
To: Rich Eakin <reakinator@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: different name and email address depending on folder
Date: Sat, 8 Jan 2011 13:09:30 +0530 [thread overview]
Message-ID: <20110108073928.GD27334@kytes> (raw)
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
next prev parent reply other threads:[~2011-01-08 7:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-08 0:52 different name and email address depending on folder Rich Eakin
2011-01-08 7:39 ` Ramkumar Ramachandra [this message]
2011-01-08 8:16 ` Rich Eakin
2011-01-08 8:29 ` Ramkumar Ramachandra
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110108073928.GD27334@kytes \
--to=artagnon@gmail.com \
--cc=git@vger.kernel.org \
--cc=reakinator@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.