Update gitconfig

This commit is contained in:
Rob Watson 2021-03-16 09:00:59 +01:00
parent abcff5303c
commit 87d9ce0d86
1 changed files with 15 additions and 11 deletions

View File

@ -4,7 +4,9 @@
[alias]
aa = add .
adp = add -p
bn = rev-parse --abbrev-ref HEAD
br = branch
chp = checkout -p
ci = commit
co = checkout
cp = cherry-pick
@ -12,31 +14,33 @@
ds = diff --staged
f = fetch
fixup = rebase -i --autosquash
mr = !git merge $(git rb)
nuke = reset --hard
rc = rebase --continue
shp = show -p
st = status
undo = reset --soft HEAD^
bn = rev-parse --abbrev-ref HEAD
chp = checkout -p
pl = pull
plr = pull --rebase
pr = diff origin/master
prs = diff --stat origin/master
rr = !git reset --hard $(git rev-parse --abbrev-ref --symbolic-full-name @{u})
rb = !git rev-parse --abbrev-ref --symbolic-full-name @{u}
rc = rebase --continue
rr = !git reset --hard $(git rb)
shp = show -p
s = status
st = status
undo = reset --soft HEAD^
[user]
email = rob@netflux.io
name = Rob Watson
[core]
editor = vim
quotePath = false
commitGraph = true
quotePath = false
commitGraph = true
pager = delta
[color]
ui = auto
[pull]
ff = only
ff = only
[init]
defaultBranch = development
defaultBranch = development
[credential "https://github.com"]
helper = !gh auth git-credential
[diff]