How I Jujutsu Bookmark Advance 0 ▲ Ideas.Offby1 95 days ago · Tech · hide jj bookmark advance is a relatively new feature1 of Jujutsu that replaced the nearly ubiquitous jj tug alias that moved bookmarks to the "tip" of their respective commit DAGs. The way it works is by moving the matched bookmarks to the revset specified in revsets.bookmark-advance-to, which by default is @ -- ie, the current active commit. I find that to be unhelpful because I've often got unpushable commits in my history, so mine is a bit more involved: [revsets] bookmark-advance-to = "closest_pushable(@)" [revset-aliases] 'closest_pushable(to)' = 'heads(::to & mutable() & ~denylist() & ~description(exact:"") & (~empty() | merges()))' 'denylist()' = 'wip() | private()' 'wip()' = 'description(glob:"wip:*") | description(glob:"WIP:*")' 'private()' = "description(glob:'private:*')" Collectively, this gives me a configuration where bookmarks advance to where it is "safe" to do so, rather than to the current commit. It means that jj git push doesn't try to push a commit that is otherwise… Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town