✨ Add rebase aliases
This commit is contained in:
parent
d5a2ef6b13
commit
1c6dd08dcb
1 changed files with 10 additions and 1 deletions
|
@ -163,7 +163,7 @@ end
|
||||||
|
|
||||||
function gunwip
|
function gunwip
|
||||||
git rev-list --max-count=1 --format="%s" HEAD | \
|
git rev-list --max-count=1 --format="%s" HEAD | \
|
||||||
grep -q "🚧 --wip-- [skip ci]" \
|
grep -q "🚧 --wip--" \
|
||||||
&& git reset HEAD~1
|
&& git reset HEAD~1
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -195,6 +195,15 @@ abbr -a gbsg --position command "git bisect good"
|
||||||
abbr -a gbsr --position command "git bisect reset"
|
abbr -a gbsr --position command "git bisect reset"
|
||||||
abbr -a gbss --position command "git bisect start"
|
abbr -a gbss --position command "git bisect start"
|
||||||
|
|
||||||
|
abbr -a grb --position command "git rebase"
|
||||||
|
abbr -a grbi --position command "git rebase --interactive"
|
||||||
|
abbr -a grbo --position command "git rebase --onto"
|
||||||
|
abbr -a grba --position command "git rebase --abort"
|
||||||
|
abbr -a grbc --position command "git rebase --continue"
|
||||||
|
abbr -a grbs --position command "git rebase --skip"
|
||||||
|
abbr -a grbd --position command "git rebase $(git_develop_branch)"
|
||||||
|
abbr -a grbm --position command "git rebase $(git_main_branch)"
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# Interaction with Remote #
|
# Interaction with Remote #
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
Loading…
Reference in a new issue