Skip to content
Discussion options

You must be logged in to vote

I think this is just a natural consequence of jj automatically committing all changes.

When you want to amend a revision, you can run jj edit REV. Any changes you make to the working copy are immediately (on next jj invocation) amended into the working copy commit and descendants are rebased on top. This is "the edit workflow" because it starts by running jj edit on the revision you intend to amend.

But, for many reasons, you may want to make changes without immediately amending them into the revision you ultimately want to update. So, you instead start with jj new REV, giving you a clean working copy where you can make and discard changes. When you're happy with them, you run jj squash t…

Replies: 5 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by nanoni17728
Comment options

You must be logged in to vote
1 reply
@nanoni17728
Comment options

Comment options

You must be logged in to vote
1 reply
@nanoni17728
Comment options

Comment options

You must be logged in to vote
1 reply
@nanoni17728
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants