Add rebase aliases

This commit is contained in:
Marley Rae 2024-01-31 20:26:53 -08:00
parent d5a2ef6b13
commit 1c6dd08dcb

View file

@ -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 #
################################################################################ ################################################################################