Created
June 6, 2022 14:53
-
-
Save drincruz/2183289bc557856cd7a33ba2ec93ca9a to your computer and use it in GitHub Desktop.
Git configs to support multiple environments and separate files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[core] | |
excludesfile = ~/.gitignore_global | |
[user] | |
name = Adrian Cruz | |
email = [email protected] | |
signingkey = work-signing-key | |
[gpg] | |
program = /usr/local/bin/gpg | |
# Include custom .gitconfig if in personal github dir | |
[includeIf "gitdir:~/src/github.com/drincruz/"] | |
path = ~/src/github.com/drincruz/.gitconfig.personal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[user] | |
email = "[email protected]" | |
signingkey = "personal-signing-key" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Node | |
npm-debug.log | |
# Mac | |
.DS_Store | |
# WebStorm | |
.idea/ | |
# vi | |
*~ | |
# General | |
log/ | |
*.log | |
*.bak | |
*.swp | |
# Python | |
venv/ | |
# Personal Tmp Space | |
ajc.tmp* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment