Elektrine lite

← Feed

@soulcutter@ruby.social

Post #2194225

2026-05-06 14:10 UTC

I'm still learning jj vcs, and here's a confusion I have. In my workflow I might push a bookmark to a git remote, need to make changes, `jj commit` and then want to push the new commits. I can `jj bookmark advance` however that moves the bookmark to @ which is an empty commit of my working set. Why would I _ever_ want to bookmark that? Obviously I want to advance the bookmark to `@-` I hear there's a config revsets.bookmark-advance-to I can set to @- But why that default behavior??

Replies (1)

  • @soulcutter@ruby.social 2026-05-06 14:11

    Nobody wants to bookmark an empty commit, right? Even if it kept the default behavior, it could WARN me "you probably want to do this", similar to how other commands can have warnings about what you probably want.

    Open ##4334241