Best way to only use one remote for immutable changes #9127
Unanswered
edwardloveall
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have three remotes:
origin,acceptance, andproduction. To put something up for review, I push a feature bookmark/branch tomain@acceptancee.g.git push acceptance my-feature:main. However, this would set all ancestors of my localmainas immutable, even if they were still being worked on.I only ever want jj to track
main@originfor immutable commits.My solution was to set
revset-aliases.immutable_heads()tomain@origin:Is this the best way to solve this problem? It took me a while to find and figure out so I'm wondering if there's a more obvious way.
Beta Was this translation helpful? Give feedback.
All reactions