# jjack turns jj stacks into merge commits so GitHub reviewers never see a force push

Original title: jjack: A CLI and TypeScript library to help jj users manage PR stacks on GitHub

> Hacker News story 50653643 · language: en · submitted 2026-11-26
> Web version: https://zeli.app/story/50653643
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 11 · by [g0xA52A2A](<https://news.ycombinator.com/user?id=g0xA52A2A>) · 💬 5
[original](<https://github.com/david-crespo/jjack>) · [HN discussion](<https://news.ycombinator.com/item?id=50653643>)

## Summary

A CLI and TypeScript library for jj users who manage PR stacks on GitHub. Instead of rebasing and force-pushing every PR above an edited commit, jjack pushes an ordinary commit holding the edit plus merge commits that preserve all existing history, so reviewers see only new commits. It reads jj-spr config, offers submit, land, sync, close, and adopt, and ships a fake GitHub for testing. The author admits it was entirely vibe-coded and hasn't read the code.

## Key quote

> The only reason all this is necessary is that Git doesn't have a good canonical spot to put the information necessary to make this work well, and GitHub does not know how to display stacks and the changes between them properly.

## HN discussion (5 comments)

### [1123581321](<https://news.ycombinator.com/item?id=50680115>)

> Neat. My own take on this. https://github.com/michaeldhopkins/jjpr
>
> Getting it to run well for GitHub, Gitlab, and Codeberg/Forgejo has been a lot of the work. I’ve found that running e2e tests weekly is easiest because it keeps my multiple users for each platform signed in (I test approvals, other people merging, etc.)
>
> Supporting jjpr has introduced me to a few more folks in the jujutsu community, which has been fun, and given me more appreciation for the flexibility of jujutsu (e.g. supporting diamond-shaped stacks.)
>
> It was also fun to come into the era of native GitHub stacks with strong opinions, including that they should offer an API to render third party stacks with nicer UI than a first comment and hidden description metadata. :)
>
> That said, while I’m still maintaining jjpr, it seems better to just keep the stack locally and feed merged to main to your teammates with well written descriptions, rather than racing ahead and giving them potentially confusing choices of what to read. The bottleneck is review more than coding on a conscientious team.

### [andrewaylett](<https://news.ycombinator.com/item?id=50678112>)

> I had a similar thought, and the result is https://github.com/andrewaylett/jj-gh/
>
> One feature I quite enjoy is the ability to sync PR summaries to match their commit message.  Another is the fix up, which reparents any PRs that might have been shuffled since they were created.
>
> I'm not necessarily going to be submitting long stacks, or often, but it works on a "stack" of one, too!  And I will probably get around to making it cleaner to use on octopus merges at some point.
>
> Like the OP, not something I'm necessarily expecting other folk to want to use -- but I've been using it since I created it.  It was probably less effort to build than it would have been to pick up someone else's tool and give myself confidence that it actually did what I want it to do :).

### [jiggunjer](<https://news.ycombinator.com/item?id=50677560>)

> I think jj users often use a megamerge model, this doesn't translate well to stacked PRs which assume a linear history.

---

## Cite

- Page: https://zeli.app/story/50653643
- Date: 2026-11-26
- Source: github.com (https://github.com/david-crespo/jjack)
- Hacker News: https://news.ycombinator.com/item?id=50653643

## Other languages

- zh: https://zeli.app/zh/story/50653643 · markdown: https://zeli.app/zh/story/50653643.md
- ja: https://zeli.app/ja/story/50653643 · markdown: https://zeli.app/ja/story/50653643.md
- ko: https://zeli.app/ko/story/50653643 · markdown: https://zeli.app/ko/story/50653643.md
- de: https://zeli.app/de/story/50653643 · markdown: https://zeli.app/de/story/50653643.md
- es: https://zeli.app/es/story/50653643 · markdown: https://zeli.app/es/story/50653643.md
- ru: https://zeli.app/ru/story/50653643 · markdown: https://zeli.app/ru/story/50653643.md
