1
Fork 0
dotfiles/private_dot_config/git/config

22 lines
733 B
Text

[user]
# personal info
email = josh@redstrate.com
name = Joshua Goins
signingkey = 0xD28B9141A3B3A73A
[core]
# disable autocrlf
autocrlf = input
[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