Hacker News new | ask | show | jobs
Show HN: Patchy – Manage long-lived forks as patch sets (github.com)
1 points by richardgill88 178 days ago
For long-lived forks when the goal isn't to merge back upstream - I prefer using .diff files + a some scripts to apply them.

I couldn't find a tool that was close to my adhoc scripts. So I built Patchy to help manage my patch sets:

You clone the repo you're "forking" locally, make changes directly, then run:

  patchy generate   # saves changes to ./patches as .diff files
Later you can reapply your patches programmatically with:

  patchy apply

There's also helper commands to clone extra copies of the repo, reset them, etc.
1 comments

If you're interested in managing patches you may want to check out quilt: https://man7.org/linux/man-pages/man1/quilt.1.html