gitconfig: add aliases

This commit is contained in:
Rob Watson 2021-05-05 13:10:12 +02:00
parent db423ef39a
commit 2d5948854d
1 changed files with 4 additions and 0 deletions

View File

@ -20,6 +20,7 @@
f = fetch f = fetch
fixup = rebase -i --autosquash fixup = rebase -i --autosquash
fixom = rebase -i --autosquash origin/master fixom = rebase -i --autosquash origin/master
l = log
mr = !git merge $(git rb) mr = !git merge $(git rb)
nb = checkout -b nb = checkout -b
nuke = reset --hard nuke = reset --hard
@ -29,13 +30,16 @@
plr = pull --rebase plr = pull --rebase
pr = diff origin/master pr = diff origin/master
prs = diff --stat origin/master prs = diff --stat origin/master
ra = rebase --abort
rb = !git rev-parse --abbrev-ref --symbolic-full-name @{u} rb = !git rev-parse --abbrev-ref --symbolic-full-name @{u}
rc = rebase --continue rc = rebase --continue
re = rebase
rom = rebase origin/master rom = rebase origin/master
rr = !git reset --hard $(git rb) rr = !git reset --hard $(git rb)
shp = show -p shp = show -p
s = status s = status
sq = merge --squash sq = merge --squash
sshp = stash show -p
ss = stash save ss = stash save
st = status st = status
undo = reset --soft HEAD^ undo = reset --soft HEAD^