about summary refs log tree commit diff
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 f4113d9..fd8b7ff 100644
--- a/.config/git/config
+++ b/.config/git/config
@@ -18,6 +18,7 @@
 	clean = !git remote prune origin && git branch | xargs git branch -d
 	force = push --force-with-lease
 	oops = commit --all --amend --no-edit
+	rebranch = !git checkout main && git pull && git checkout - && git rebase main
 	stashpull = !git stash && git pull && git stash pop
 	stat = status
 	tree = log --all --graph --oneline