Unofficial Hacker News companion — get notified on comment replies, and more.

jjack: A CLI and TypeScript library to help jj users manage PR stacks on GitHub (opens external site)

12 points by g0xA52A2A 6 days ago | github.com | 5 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (3)

  1. I think jj users often use a megamerge model, this doesn't translate well to stacked PRs which assume a linear history.
    Replies (1)
    1. Huh, really? I started using stacked PRs more intentionally when I switched to jj, because looking through the jj repo history with jj made that feel like the obvious thing to do.
      Replies (1)
      1. It's easy to stack, but then it's also easy to Octopus merge. And what you do with your own branches and PRs doesn't necessarily make any difference to what the merged result looks like.

        I found it much easier for my team if I gave them independent PRs when the PRs could be independent, and JJ makes throwing commits around so easy that it's absolutely not going to be the bottleneck that pushes me to one approach vs another. They're going to land on `main` sequentially whichever way I develop them, because that's our (my) convention for `main`.