Skip to content
Discussion options

You must be logged in to vote

In git, when a branch is deleted, the commits reachable only from that branch become unreachable and aren't visible even with git log --all.

Jujutsu doesn't work that way, revisions can stay visible even without a bookmark. There are two ways relevant to this discussion that revisions become hidden:

  • Run jj abandon
  • After importing changes from Git, revisions that were previously reachable from bookmarks but no longer are become hidden.

The second rule keeps jj's view of the repo in sync with git: If commits become unreachable on the remote because the branch was deleted, you probably want them gone locally as well.

But, you can see the commits in the branch ending in tqsztpyo no longer h…

Replies: 2 comments 2 replies

Comment options

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

You must be logged in to vote
2 replies
@cdavietei
Comment options

@jennings
Comment options

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