Skip to content

"Fixing" tracking branches #2552

Answered by martinvonz
BatmanAoD asked this question in Q&A
Discussion options

You must be logged in to vote

At this point, I expected jj diff --from <branch>@origin> to be empty, but it wasn't. Why not? Should I have used branch forget instead of abandon?

Yes. abandon acts on commits, so jj abandon <branch> will abandon the commit the branch points to.

I ended up just manually calling jj branch set <branch> -r <branch>@origin, which is probably what I should have done in the first place.

Yes, that makes sense.

Replies: 1 comment

Comment options

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