Question
How to configure multiple accounts on git?
As I was following the tutorial https://www.digitalocean.com/community/tutorials/how-to-install-git-on-ubuntu-20-04
I wanted to know, how can we configure multiple usernames?
Reason: Say one project is personal and requires myemail@gmail.com and other one is professional and requires myemail@company.com. How can I achieve the same?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×