summaryrefslogtreecommitdiff
path: root/.config/git
diff options
context:
space:
mode:
Diffstat (limited to '.config/git')
-rw-r--r--.config/git/config1
1 files changed, 1 insertions, 0 deletions
diff --git a/.config/git/config b/.config/git/config
index 3c47240..bfc11d3 100644
--- a/.config/git/config
+++ b/.config/git/config
@@ -129,6 +129,7 @@
rba = rebase --abort
rbc = rebase --continue
rbi = rebase --interactive
+ rbm = "!f() { git switch "$1" && git rebase - && git switch - && git merge -; }; f"
r = reset
r1 = reset HEAD^