Re: Managing Git identities?

2012-02-28 Thread Jason Smith
On Tue, Feb 28, 2012 at 5:02 AM, Robert Newson rnew...@apache.org wrote:
 for my part, I don't set user.email in my global .gitconfig because
 I've often committed with the wrong address. Leaving it undefined then
 gives you a warning when you commit. I then set the right local value
 and --amend --reset-author. Pretty sure our apache repo insists on
 apache.org addresses too.

keanu
Whoa.
/keanu

Adopted. Thanks.

-- 
Iris Couch


Managing Git identities?

2012-02-27 Thread Jason Smith
Quick question:

Do you all have any strategies or techniques for committing under
various identities? I would like CouchDB commits to be j...@apache.org,
but work projects, under different email addresses.

This one is hard to google. It's tons of walkthroughs for identifying
to a Git server (SSH key management, etc.). I'm just talking about the
committer ID.

All I've thought to do is make fresh clones and run git config
user.email j...@apache.org. Then I guess I'll use that for working on
couch, any commits that might one day go upstream. And I'll pull them
in to other branches and forks?

Is that what y'all are doing?

-- 
Iris Couch


Re: Managing Git identities?

2012-02-27 Thread Randall Leeds
On Mon, Feb 27, 2012 at 16:22, Jason Smith j...@iriscouch.com wrote:
 Quick question:

 Do you all have any strategies or techniques for committing under
 various identities? I would like CouchDB commits to be j...@apache.org,
 but work projects, under different email addresses.

 This one is hard to google. It's tons of walkthroughs for identifying
 to a Git server (SSH key management, etc.). I'm just talking about the
 committer ID.

 All I've thought to do is make fresh clones and run git config
 user.email j...@apache.org. Then I guess I'll use that for working on
 couch, any commits that might one day go upstream. And I'll pull them
 in to other branches and forks?

You needn't make a fresh clone to set your email address. I keep my
gmail in --global and my CouchDB repo as @apache.org.


 Is that what y'all are doing?

 --
 Iris Couch


Re: Managing Git identities?

2012-02-27 Thread Adam Kocoloski
On Feb 27, 2012, at 8:53 PM, Randall Leeds wrote:

 On Mon, Feb 27, 2012 at 16:22, Jason Smith j...@iriscouch.com wrote:
 Quick question:
 
 Do you all have any strategies or techniques for committing under
 various identities? I would like CouchDB commits to be j...@apache.org,
 but work projects, under different email addresses.
 
 This one is hard to google. It's tons of walkthroughs for identifying
 to a Git server (SSH key management, etc.). I'm just talking about the
 committer ID.
 
 All I've thought to do is make fresh clones and run git config
 user.email j...@apache.org. Then I guess I'll use that for working on
 couch, any commits that might one day go upstream. And I'll pull them
 in to other branches and forks?
 
 You needn't make a fresh clone to set your email address. I keep my
 gmail in --global and my CouchDB repo as @apache.org.

Ditto.


Re: Managing Git identities?

2012-02-27 Thread Paul Davis
To be clear, Randall means to set the user.email and user.name setting
in the ./git/config file in your CouchDB clone.

On Mon, Feb 27, 2012 at 8:32 PM, Adam Kocoloski kocol...@apache.org wrote:
 On Feb 27, 2012, at 8:53 PM, Randall Leeds wrote:

 On Mon, Feb 27, 2012 at 16:22, Jason Smith j...@iriscouch.com wrote:
 Quick question:

 Do you all have any strategies or techniques for committing under
 various identities? I would like CouchDB commits to be j...@apache.org,
 but work projects, under different email addresses.

 This one is hard to google. It's tons of walkthroughs for identifying
 to a Git server (SSH key management, etc.). I'm just talking about the
 committer ID.

 All I've thought to do is make fresh clones and run git config
 user.email j...@apache.org. Then I guess I'll use that for working on
 couch, any commits that might one day go upstream. And I'll pull them
 in to other branches and forks?

 You needn't make a fresh clone to set your email address. I keep my
 gmail in --global and my CouchDB repo as @apache.org.

 Ditto.


Re: Managing Git identities?

2012-02-27 Thread Robert Newson
for my part, I don't set user.email in my global .gitconfig because
I've often committed with the wrong address. Leaving it undefined then
gives you a warning when you commit. I then set the right local value
and --amend --reset-author. Pretty sure our apache repo insists on
apache.org addresses too.

B.

On 28 February 2012 03:58, Paul Davis paul.joseph.da...@gmail.com wrote:
 To be clear, Randall means to set the user.email and user.name setting
 in the ./git/config file in your CouchDB clone.

 On Mon, Feb 27, 2012 at 8:32 PM, Adam Kocoloski kocol...@apache.org wrote:
 On Feb 27, 2012, at 8:53 PM, Randall Leeds wrote:

 On Mon, Feb 27, 2012 at 16:22, Jason Smith j...@iriscouch.com wrote:
 Quick question:

 Do you all have any strategies or techniques for committing under
 various identities? I would like CouchDB commits to be j...@apache.org,
 but work projects, under different email addresses.

 This one is hard to google. It's tons of walkthroughs for identifying
 to a Git server (SSH key management, etc.). I'm just talking about the
 committer ID.

 All I've thought to do is make fresh clones and run git config
 user.email j...@apache.org. Then I guess I'll use that for working on
 couch, any commits that might one day go upstream. And I'll pull them
 in to other branches and forks?

 You needn't make a fresh clone to set your email address. I keep my
 gmail in --global and my CouchDB repo as @apache.org.

 Ditto.


Re: Managing Git identities?

2012-02-27 Thread Randall Leeds
On Feb 27, 2012 9:02 PM, Robert Newson rnew...@apache.org wrote:

 for my part, I don't set user.email in my global .gitconfig because
 I've often committed with the wrong address. Leaving it undefined then
 gives you a warning when you commit. I then set the right local value
 and --amend --reset-author. Pretty sure our apache repo insists on
 apache.org addresses too.

I like that.
/me adopts


 B.

 On 28 February 2012 03:58, Paul Davis paul.joseph.da...@gmail.com wrote:
  To be clear, Randall means to set the user.email and user.name setting
  in the ./git/config file in your CouchDB clone.
 
  On Mon, Feb 27, 2012 at 8:32 PM, Adam Kocoloski kocol...@apache.org
wrote:
  On Feb 27, 2012, at 8:53 PM, Randall Leeds wrote:
 
  On Mon, Feb 27, 2012 at 16:22, Jason Smith j...@iriscouch.com wrote:
  Quick question:
 
  Do you all have any strategies or techniques for committing under
  various identities? I would like CouchDB commits to be j...@apache.org
,
  but work projects, under different email addresses.
 
  This one is hard to google. It's tons of walkthroughs for identifying
  to a Git server (SSH key management, etc.). I'm just talking about
the
  committer ID.
 
  All I've thought to do is make fresh clones and run git config
  user.email j...@apache.org. Then I guess I'll use that for working on
  couch, any commits that might one day go upstream. And I'll pull them
  in to other branches and forks?
 
  You needn't make a fresh clone to set your email address. I keep my
  gmail in --global and my CouchDB repo as @apache.org.
 
  Ditto.


Re: Managing Git identities?

2012-02-27 Thread Paul Davis
On Mon, Feb 27, 2012 at 11:02 PM, Robert Newson rnew...@apache.org wrote:
 for my part, I don't set user.email in my global .gitconfig because
 I've often committed with the wrong address. Leaving it undefined then
 gives you a warning when you commit. I then set the right local value
 and --amend --reset-author. Pretty sure our apache repo insists on
 apache.org addresses too.

 B.

It used to but does no longer due to advanced technical reasons. IOW,
I got yelled at to turn it off.


 On 28 February 2012 03:58, Paul Davis paul.joseph.da...@gmail.com wrote:
 To be clear, Randall means to set the user.email and user.name setting
 in the ./git/config file in your CouchDB clone.

 On Mon, Feb 27, 2012 at 8:32 PM, Adam Kocoloski kocol...@apache.org wrote:
 On Feb 27, 2012, at 8:53 PM, Randall Leeds wrote:

 On Mon, Feb 27, 2012 at 16:22, Jason Smith j...@iriscouch.com wrote:
 Quick question:

 Do you all have any strategies or techniques for committing under
 various identities? I would like CouchDB commits to be j...@apache.org,
 but work projects, under different email addresses.

 This one is hard to google. It's tons of walkthroughs for identifying
 to a Git server (SSH key management, etc.). I'm just talking about the
 committer ID.

 All I've thought to do is make fresh clones and run git config
 user.email j...@apache.org. Then I guess I'll use that for working on
 couch, any commits that might one day go upstream. And I'll pull them
 in to other branches and forks?

 You needn't make a fresh clone to set your email address. I keep my
 gmail in --global and my CouchDB repo as @apache.org.

 Ditto.