GitHub Stacks in Jujutsu
GitHub has introduced stacked pull requests (PRs) into public preview, targeting git users but offering documented support for other git-compatible version control systems like Jujutsu (jj). This feature allows users to manage multiple PRs as a single stack, simplifying the process of coordinating changes across different commits.
The article provides a guide on using GitHub stacks with jj, highlighting the need to create bookmarks for each commit in the stack and linking them to GitHub to create draft PRs. Users are advised to use the `gh stack link` command to link the entire stack, rather than adding to the middle of an existing stack, which is not supported.
The implementation of stacked PRs in GitHub is described as unambitious, as it relies on the existing, flawed model of GitHub PRs without addressing foundational issues.
Brief written by urgent.news from Lobsters's own syndicated text. Machine-written — it may contain errors, so check the original before relying on it.