-
On jj git fetch, 2 commits where abandoned (because the I'm trying to understand why jj wouldn't instead either:
Thank you!
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
It's expected that your next step is to rebase the branch onto
We'd like to have a The justification for this behavior is that jj is trying to keep the repo in sync with git. In git, deleting the remote branch makes the commits from that branch unreachable. The equivalent operation in jj is to abandon them. Since your anonymous commits were not reachable from git in the first place, they are not abandoned. |
Beta Was this translation helpful? Give feedback.
It's expected that your next step is to rebase the branch onto
trunk()
(or wherever the abandoned commits landed). Doing so will resolve the conflicts.We'd like to have a
jj git sync
that does this fetch-then-rebase automatically but it's nontrivial and needs design.The justification for this behavior is that jj is trying to keep the repo in sync with git. In git, deleting the remote branch makes the commits from that branch unreachable. The equivalent operation in jj is to abandon them. Since your anonymous commits were not reachable fr…