Closed ChrisPenner closed 5 days ago
You should take a look at https://github.com/martinvonz/jj/discussions/3549. I'll try to add some docs to that post in a second.
Oh perfect, I'll try that out, yeah I checked the config docs and didn't see anything for this, so some more docs on it would be great!
Cheers!
Is your feature request related to a problem? Please describe. After many
jj commit
s, I find myself constantly needing tojj branch set ...
to get my branch pointers back up to the latest change, I'd love if jj could keep them up to date in common unambiguous situations.Describe the solution you'd like I think it would solve it for me if:
jj commit
, for each parent who has no other children other than the revision I'm committing, move any branches pointing to that parent to point to the new commit instead.Describe alternatives you've considered I suppose you could update the branch pointer to the new empty change on
jj new
andjj commit
, but I think it would cause errors trying to push an empty commit too often, seems more clunky.