Override global .gitconfig

If you work for an organization with their own internal Git server and need to override your global .gitconfig info for name or email, this snippet will work if put in the .git/config of each repo you need to override that setting on:

[user]
        name = Your Name
        email = you@email.com

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.