Last updated February 8, 2015.
This page will discuss the difference between a global id and per-repo ids and make some suggestions about how to manage multiple identities.
Identify yourself to Git per repository
Most people have a single Git identity. If you use Git for both Drupal projects and company projects with different email addresses for each, for example, the details can be set for each repository.
$ cd [path/to/project]
$ git config user.email "firstname.lastname@example.org"
Set your global details to the details you most often use.
To check your current identity:
$ git config -l
- Managing e-mail addresses on Drupal.org - emails linked to Git commits.
- Components of your Drupal.org identity used by Git
- Identifying yourself to git
// This is referenced in drupalorg.git-gitgateway and
// project_git_instructions, so don't delete and recreate.