Im my home directory I have .gitconfig with these lines:
[user]
name = Ivan Bessarabov
email = ivan@bessarabov.ru
So, every commit I make has this name and email information. But I have
several repo on the same computer that need to have different email address.
How can I specify different email address for some repos?
Run this command in your repository directory:
Without
--globaloption it’ll configure email specific for this repository (it’ll be stored in.git/configfile inside this repository directory).