Keep a customized fork current without merge commits or untested promotions.
Patchlane rebuilds an integration branch from an upstream release or branch, reapplies focused patch branches, runs your existing CI, and promotes the exact tested commit.
From a clone of your GitHub fork, install the Patchlane agent skills:
npx patchlane agentsThen ask your coding agent:
Set up this fork with Patchlane.
The setup skill inspects the repository, asks which upstream release or branch to track, and shows its complete plan before pushing or rewriting branches. It then creates the patch stack, validates it, and guides the first tested promotion.
Prefer to configure it yourself? Follow the manual setup guide. Already using an earlier Patchlane version? Use the migration guide.
- Resolve an explicit source such as
release:latestorbranch:main. - Rebuild
sync/integrationfrom that source. - Replay independently based patch branches in order.
- Run the fork's existing CI on the generated branch.
- Promote only the exact SHA that passed CI.
The promoted base and sync branches are generated output. Fork-owned changes belong on patch/* branches.
npm install
npm testMIT