# vi: ft=gitconfig # # git config -f ~/.gitconfig.local user.email me@example.com # [alias] fixup = "!~/.dotfiles/bin/git-fixup" ftag = push --tags --force home = "!~/.dotfiles/bin/git-home" fixhome = remote set-head origin --auto yolo = commit --amend --no-edit rm-merged = "!git branch --format '%(refname:short) %(upstream:track)' | awk '$2 == \"[gone]\" { print $1 }' | xargs -r git branch -D" [branch] sort = committerdate [color] ui = true [color "diff"] meta = blue frag = magenta old = red new = green [column] ui = auto [commit] gpgsign = true verbose = true [core] editor = ~/.dotfiles/bin/giteditor pager = delta untrackedCache = true [delta] hyperlinks = true navigate = true [diff] algorithm = histogram colorMoved = plain mnemonicPrefix = true renames = true [fetch] all = true prune = true pruneTags = true [filter "lfs"] smudge = git-lfs smudge -- %f process = git-lfs filter-process required = true clean = git-lfs clean -- %f [github] user = adamcstephens [gpg] format = ssh [gpg "ssh"] defaultKeyCommand = sh -c '$HOME/.dotfiles/bin/git-ssh-key.sh' [include] path = config.delta [init] defaultBranch = main [interactive] diffFilter = delta --color-only [merge] conflictStyle = diff3 [merge "mergiraf"] name = mergiraf driver = mergiraf merge --git %O %A %B -s %S -x %X -y %Y -p %P -l %L [pull] ff = only rebase = true [push] autoSetupRemote = true [rebase] autoSquash = true autoStash = true updateRefs = true [rerere] enabled = true autoupdate = true [tag] gpgsign = true sort = version:refname [user] name = Adam C. Stephens email = adam@valkor.net [credential "https://github.com"] helper = helper = !gh auth git-credential [credential "https://gist.github.com"] helper = helper = !gh auth git-credential [credential "https://git.junco.dev"] helper = helper = !tea login helper