Files
dotfiles/git/.gitconfig
T

58 lines
1.1 KiB
INI

[user]
name = Proctor
email = steven.proctor@gmail.com
[core]
editor = nvim
excludesFile = ~/.gitignore.global
[color]
ui = true
[pull]
ff = only
[filter "media"]
clean = git-media-clean %f
smudge = git-media-smudge %f
[init]
defaultBranch = main
[alias] ; Command aliases for the git[1] command wrapper
last = cat-file commit HEAD
[diff]
algorithm = histogram
colorMoved = zebra # plain
mnemonicPrefix = true
renames = true
[branch]
autoSetupRebase = always
[checkout]
defaultRemote = origin
[gpg]
format = ssh
[commit]
gpgsign = true
[fetch]
all = true
prune = true
pruneTags = true
[tag]
gpgsign = true
sort = version:refname
[gpg "ssh"]
allowedSignersFile = ~/.ssh/allowed_signers
[help]
autocorrect = prompt
[merge]
conflitstyle = zdiff3
ff = only
[push]
default = current
autoSetupRemote = true
followTags = true
[rerere]
enabled = true
autoupdate = true
[remote]
pushDefault = origin
;; This is last, take in any other local file overrides
[include]
path = ~/.gitconfig.local ; find ".gitconfig.local" in your `$HOME` directory