chore(git): add aliases
This commit is contained in:
parent
231f2e79e4
commit
453c272acf
|
@ -23,6 +23,8 @@
|
||||||
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
|
||||||
cols = !git checkout $(git branch | fzf)
|
cols = !git checkout $(git branch | fzf)
|
||||||
|
comb = !git checkout $(git mainbranch)
|
||||||
|
cost = checkout staging
|
||||||
cp = cherry-pick
|
cp = cherry-pick
|
||||||
cp2 = "!fn() { git cherry-pick $1~2..$1; }; fn"
|
cp2 = "!fn() { git cherry-pick $1~2..$1; }; fn"
|
||||||
cp3 = "!fn() { git cherry-pick $1~3..$1; }; fn"
|
cp3 = "!fn() { git cherry-pick $1~3..$1; }; fn"
|
||||||
|
|
Loading…
Reference in New Issue