diff --git a/git/aliases.config.fish b/git/aliases.config.fish index 3a731c1..6f9043a 100644 --- a/git/aliases.config.fish +++ b/git/aliases.config.fish @@ -163,7 +163,7 @@ end function gunwip git rev-list --max-count=1 --format="%s" HEAD | \ - grep -q "🚧 --wip-- [skip ci]" \ + grep -q "🚧 --wip--" \ && git reset HEAD~1 end @@ -195,6 +195,15 @@ abbr -a gbsg --position command "git bisect good" abbr -a gbsr --position command "git bisect reset" 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 # ################################################################################