gitconfig: add aliases
This commit is contained in:
parent
37dbd9d6e0
commit
9f49433dd9
|
@ -11,6 +11,7 @@
|
||||||
cl = clone
|
cl = clone
|
||||||
cltms = !sh -c 'cd $HOME/dev && git clone $1 && cd $(basename $1 .git) && tmuxsess' --
|
cltms = !sh -c 'cd $HOME/dev && git clone $1 && cd $(basename $1 .git) && tmuxsess' --
|
||||||
co = checkout
|
co = checkout
|
||||||
|
cob = !git checkout $(git branch | fzf)
|
||||||
cp = cherry-pick
|
cp = cherry-pick
|
||||||
d = diff
|
d = diff
|
||||||
ds = diff --staged
|
ds = diff --staged
|
||||||
|
@ -28,6 +29,7 @@
|
||||||
prs = diff --stat origin/master
|
prs = diff --stat origin/master
|
||||||
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
|
||||||
|
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
|
||||||
|
|
Loading…
Reference in New Issue