|
You are here |
wittchen.io | ||
| | | | |
blog.kulman.sk
|
|
| | | | | I use the same machines to work on both personal and work projects. I usually have to use a different Git identity for the work projects than for my personal projects. Previously I had my personal Git identity set globally and then used local Git configs to override it in work projects. This worked just fine but it was too much work. There is a better solution. Git config allows you to use, or better to say include, another Git config for a specific directory and all its subdirectories. I have all my pro... | |
| | | | |
phili.pe
|
|
| | | | | Personal website of Philipe Fatio | |
| | | | |
stevenhicks.me
|
|
| | | | | Work projects require git commits to be signed with my work email; I'd like commits on my personal projects to be signed with my personal email. The solution: conditional includes in my .gitconfig! | |
| | | | |
logr.cogley.info
|
|
| | | If you want to autosign git commits on Mac, there are a couple of tricks to it. I have not been able to get brew gpg to work consistently well, but installing from gpgtools.org seems to be able to be made to work. ?? This worked for me: Install GPGTools from https://gpgtools.org Create / import a key, then run gpg --list-secret-keys to find the sec key fingerprint Make git settings, specifying the signing key as the fingerprint with no spaces: 1 2 3 4 % git config --global gpg. | ||