gitconfig: add aliases
This commit is contained in:
parent
e872cb658e
commit
ccb96ec5ec
|
@ -24,6 +24,7 @@
|
||||||
cp = cherry-pick
|
cp = cherry-pick
|
||||||
cpls = !git cp $(git ls)
|
cpls = !git cp $(git ls)
|
||||||
d = diff
|
d = diff
|
||||||
|
dls = !git diff $(git branch | fzf)
|
||||||
dom = diff origin/master
|
dom = diff origin/master
|
||||||
drb = !git diff $(git rb)
|
drb = !git diff $(git rb)
|
||||||
ds = diff --staged
|
ds = diff --staged
|
||||||
|
@ -55,6 +56,8 @@
|
||||||
re = rebase
|
re = rebase
|
||||||
rels = !git rebase $(git branch | fzf)
|
rels = !git rebase $(git branch | fzf)
|
||||||
rh = reset --hard
|
rh = reset --hard
|
||||||
|
ri = rebase -i --autosquash
|
||||||
|
rils = !git rebase -i --autosquash $(git branch | fzf)
|
||||||
rom = !sh -c 'git fetch && git rebase origin/master'
|
rom = !sh -c 'git fetch && git rebase origin/master'
|
||||||
rr = !sh -c 'git fetch && git reset --hard $(git rb)'
|
rr = !sh -c 'git fetch && git reset --hard $(git rb)'
|
||||||
rv = revert
|
rv = revert
|
||||||
|
|
Loading…
Reference in New Issue