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