summaryrefslogtreecommitdiffstatshomepage
path: root/dot_config/git
diff options
context:
space:
mode:
Diffstat (limited to 'dot_config/git')
-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