Wednesday, May 29, 2019

How to Use .gitconfig's includeIf

Problem

I want to have my commits to Git use the appropriate email address. I don’t want to have to remember to call  git config user.email … every time I check out a new repository.

Background

When I check out a repository hosted by the Apache Software Foundation, I check it out inside of ~/apache/. I want to commit to these repositories as my apache.org email address and signed with my GPG key for that address.



from DZone.com Feed http://bit.ly/2wsGnqY

No comments:

Post a Comment