summaryrefslogtreecommitdiffstatshomepage
path: root/dot_config/git/config
diff options
context:
space:
mode:
authorsommerfeld <sommerfeld@sommerfeld.dev>2026-08-14 14:21:05 +0100
committersommerfeld <sommerfeld@sommerfeld.dev>2026-08-14 14:21:05 +0100
commit843c58efa32d334c9f06d22229728ab72deb2160 (patch)
treed458e224240a24257caaea9683df79f8521910d1 /dot_config/git/config
parentac632546177ff4b2ebd1d878fea87a3deea0040d (diff)
downloaddotfiles-843c58efa32d334c9f06d22229728ab72deb2160.tar.gz
dotfiles-843c58efa32d334c9f06d22229728ab72deb2160.tar.bz2
dotfiles-843c58efa32d334c9f06d22229728ab72deb2160.zip
Default ghost rebase to origin/main
Diffstat (limited to 'dot_config/git/config')
-rw-r--r--dot_config/git/config2
1 files changed, 1 insertions, 1 deletions
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