In my ~/.gitconfig, I list my personal email address under [user], since that\'s what I want to use for Github repos.
But, I\'ve recently s
Although most questions sort of answered the OP, I just had to go through this myself and without even googling I was able to find the quickest and simplest solution. Here's simple steps:
.gitconfg from your other repo.gitconfig file, such as name, email and username
[user]
name = John
email = john@email.net
username = john133
.gitignore list, to make sure you don't commit .gitconfig file to your work repo