From 843c58efa32d334c9f06d22229728ab72deb2160 Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Fri, 14 Aug 2026 14:21:05 +0100 Subject: Default ghost rebase to origin/main --- dot_config/git/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dot_config') diff --git a/dot_config/git/config b/dot_config/git/config index 56e14be..a554e3b 100644 --- a/dot_config/git/config +++ b/dot_config/git/config @@ -87,7 +87,7 @@ autoStageIfNothingStaged = true [alias] resign = "!git show -s --format=%B HEAD | sed \"/^Co-authored-by:/Id\" | git -c core.hooksPath=/dev/null commit --amend --reset-author --no-verify --cleanup=strip -S -F -" - ghost-rebase = "!sh -c 'b=$0; u=${1:-origin/master}; wt=$(mktemp -d -t rebwt.XXXXXX); git worktree add -f "$wt" "$b"; git -C "$wt" rebase "$u" || echo "Rebase incomplete"; git worktree remove --force "$wt"'" + ghost-rebase = "!sh -c 'b=$0; u=${1:-origin/main}; wt=$(mktemp -d -t rebwt.XXXXXX); git worktree add -f "$wt" "$b"; git -C "$wt" rebase "$u" || echo "Rebase incomplete"; git worktree remove --force "$wt"'" a = add ab=absorb --and-rebase b = branch -vv -- cgit v1.3.1