Make a branch follow working copy commit? #2836
-
Hi, what are the thoughts on an option where the branch follows the current commit (or even better get set to @-) after every commit? I suppose I could write a shell script to do that, but I'm wondering if that is against the ethos of jj or something I am missing that it is bad to do that / prevents me from doing other things. Thank you. I love jj |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
We have #2338 for letting you do |
Beta Was this translation helpful? Give feedback.
We have #2338 for letting you do
jj commit --advance-branches
(and presumably some short version of the flag, such as-b
). We probably don't want a config option because thenjj new main; jj commit
would always move themain
branch forward, which is probably (?) not what you always want.