# This is Git's per-user configuration file. [user] name = Anthony Cicchetti email = anthony@anthonycicchetti.com [alias] pushall = !git remote | xargs -L1 git push --all pr = "!f() { git fetch -fu ${2:-$(git remote |grep ^upstream || echo origin)} refs/pull/$1/head:pr/$1 && git checkout pr/$1; }; f" pr-clean = "!git for-each-ref refs/heads/pr/* --format='%(refname)' | while read ref ; do branch=${ref#refs/heads/} ; git branch -D $branch ; done" [core] autocrlf = input excludesfile = /Users/acicchetti/.gitignore [include] path = ~/.gitconfig_local [fetch] prune = true [format] pretty = fuller [log] follow = true [pull] rebase = true [diff] tool = vimdiff [merge] tool = vimdiff conflictstyle = diff3 [mergetool "vimdiff"] cmd = nvim -d $BASE $LOCAL $REMOTE [init] defaultBranch = main