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 "my.contrib@email.com"

Set your global details to the details you most often use.

To check your current identity:

$ git config -l

See also:

// This is referenced in drupalorg.git-gitgateway and
// project_git_instructions, so don't delete and recreate.