dotfiles/gitconfig

60 lines
1.1 KiB
Plaintext

[include]
# local and/or misc changes not committed to Git:
path = .gitconfig.local
[alias]
aa = add .
adp = add -p
bn = rev-parse --abbrev-ref HEAD
br = branch
chp = checkout -p
ci = commit
cl = clone
co = checkout
cp = cherry-pick
d = diff
ds = diff --staged
f = fetch
fixup = rebase -i --autosquash
mr = !git merge $(git rb)
nuke = reset --hard
pl = pull
plr = pull --rebase
pr = diff origin/master
prs = diff --stat origin/master
rb = !git rev-parse --abbrev-ref --symbolic-full-name @{u}
rc = rebase --continue
rr = !git reset --hard $(git rb)
shp = show -p
s = status
ss = stash save
st = status
undo = reset --soft HEAD^
[user]
email = rob@netflux.io
name = Rob Watson
[core]
editor = vim
quotePath = false
commitGraph = true
pager = delta
[color]
ui = auto
[pull]
ff = only
[init]
defaultBranch = development
[credential "https://github.com"]
helper = !gh auth git-credential
[diff]
tool = vimdiff
[merge]
tool = vimdiff
[interactive]
diffFilter = delta --color-only
[delta]
side-by-side = true
[delta "decorations"]
commit-decoration-style = bold yellow box ul
file-style = bold yellow ul
file-decoration-style = none