gitconfig: add aliases

This commit is contained in:
Rob Watson 2021-10-13 15:23:56 +02:00
parent e872cb658e
commit ccb96ec5ec
1 changed files with 3 additions and 0 deletions

View File

@ -24,6 +24,7 @@
cp = cherry-pick
cpls = !git cp $(git ls)
d = diff
dls = !git diff $(git branch | fzf)
dom = diff origin/master
drb = !git diff $(git rb)
ds = diff --staged
@ -55,6 +56,8 @@
re = rebase
rels = !git rebase $(git branch | fzf)
rh = reset --hard
ri = rebase -i --autosquash
rils = !git rebase -i --autosquash $(git branch | fzf)
rom = !sh -c 'git fetch && git rebase origin/master'
rr = !sh -c 'git fetch && git reset --hard $(git rb)'
rv = revert