Thursday, September 10, 2015

Use different email address for different Git repositories

Navigate to the repository directory, use the following commands to set user config for that repository
$ git config "Deepak Azad"
$ git config ""
Alternatively, modify the config file of the repository directly and add the following lines to it
name = Deepak Azad
email =