computer/gitconfig

29 lines
457 B
Plaintext

[user]
name = James Spencer
email = james@jmes.tech
[alias]
yolo = "!f() { git add -A . && git commit -m $1 && git push -f origin main; }; f"
[apply]
whitespace = nowarn
[commit]
gpgsign = true
[core]
excludesFile = ~/.gitignore_global
editor = code --wait
[gpg]
format = ssh
[gpg "ssh"]
program = /Applications/1Password.app/Contents/MacOS/op-ssh-sign
[init]
defaultBranch = main
[includeIf "gitdir:~/work/"]
path = ~/.gitconfig_work