gitconfig: Add/update aliases
This commit is contained in:
parent
bf6113ce61
commit
0ae989dc84
|
@ -22,10 +22,11 @@
|
||||||
co = checkout
|
co = checkout
|
||||||
cols = !git checkout $(git branch | fzf)
|
cols = !git checkout $(git branch | fzf)
|
||||||
cp = cherry-pick
|
cp = cherry-pick
|
||||||
|
cp2 = "!fn() { git cherry-pick $1~2..$1; }; fn"
|
||||||
cpls = !git cp $(git ls)
|
cpls = !git cp $(git ls)
|
||||||
d = diff
|
d = diff
|
||||||
dls = !git diff $(git branch | fzf)
|
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
|
||||||
f = fetch
|
f = fetch
|
||||||
|
@ -48,7 +49,7 @@
|
||||||
pl = pull
|
pl = pull
|
||||||
plr = pull --rebase
|
plr = pull --rebase
|
||||||
ph = push -u origin HEAD
|
ph = push -u origin HEAD
|
||||||
pr = diff origin/master
|
pr = dom
|
||||||
prs = diff --stat origin/master
|
prs = diff --stat origin/master
|
||||||
ra = rebase --abort
|
ra = rebase --abort
|
||||||
rb = !git rev-parse --abbrev-ref --symbolic-full-name @{u}
|
rb = !git rev-parse --abbrev-ref --symbolic-full-name @{u}
|
||||||
|
|
Loading…
Reference in New Issue