Compare commits

..

2 commits

Author SHA1 Message Date
fb3750706d
jj-sync 2024-11-19 16:08:51 -05:00
cd5c7c3248
rebase all bookmarks alias 2024-11-19 15:54:27 -05:00
2 changed files with 8 additions and 0 deletions

View file

@ -0,0 +1,5 @@
function jj-sync
jj git fetch
jj rebase -b 'all:bookmarks() & mine() ~ trunk()' -d 'trunk()' --skip-emptied
jj git push --tracked
end

View file

@ -24,3 +24,6 @@ log = "trunk() | ancestors(reachable(@ | mine(), mutable()), 2) | @"
[git] [git]
push-bookmark-prefix = "sloane/push-" push-bookmark-prefix = "sloane/push-"
[aliases]
rebase-bookmarks = ["rebase", "-b", "all:bookmarks() & mine() ~trunk()", "-d", "main", "--skip-emptied"]