I manage multiple git remote accounts on a single machine and each has a different user name and user email associated with it.
Forgetting to set the name and email in a newly pulled repo has caused me trouble quite a lot.
It would be so nice, if I could just have one .gitconfig file sitting in each folder that I use to store the repos associated with a single account, and git would just read the nearest config it finds.
No comments:
Post a Comment