computer/gitconfig

29 lines
457 B
Plaintext
Raw Normal View History

2023-10-01 18:42:33 +00:00
[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