[user] # personal info email = josh@redstrate.com name = Joshua Goins signingkey = 0xD28B9141A3B3A73A [core] # disable autocrlf autocrlf = input excludesfile = ~/.config/git/excludes [color] ui = auto [pull] ff = only [init] defaultBranch = main [push] default = nothing [alias] # pushes to all remotes (currently lacking a way to specify ref name, it will push EVERYTHING) push-all = !git remote | xargs -L1 git push --all # fetches all remotes fetch-all = !git remote | xargs -L1 git fetch # prettier log command pretty-log = log --decorate --oneline --graph change-commits = "!f() { VAR=$1; OLD=$2; NEW=$3; shift 3; git filter-branch --env-filter \"if [[ \\\"$`echo $VAR`\\\" = '$OLD' ]]; then export $VAR='$NEW'; fi\" $@; }; f" [pull] # use interactive rebase by default rebase = interactive [push] # push relevant tags followTags = true [sendemail] smtpuser = josh smtpserver = ryne.moe smtpencryption = tls smtpserverport = 587 annotate = yes