dotfiles/git/.config/git/personal.gitconfig

29 lines
736 B
Text

# User identity
[user]
name = Erin
email = github@eritbh.me
# Command aliases
[alias]
l = log --oneline --decorate --graph
ll = log --oneline --decorate --graph --branches
la = log --oneline --decorate --graph --all
wmerge = merge --no-commit -Xignore-space-change
lc = diff --numstat
pushup = push --set-upstream origin @
s = stash save --include-untracked
sp = stash pop
sl = stash list
whoami = config --get-regexp user
# Rebase local commits on top of remote commits when running `git pull`
[pull]
rebase = true
# New repos have a default branch name of "main"
[init]
defaultBranch = main
# Set the default ignoreRevsFile (the one Github recognizes for web blames)
[blame]
ignoreRevsFile = .git-blame-ignore-revs