Settings

Theme

Show HN: Patchy – Manage long-lived forks as patch sets

github.com

1 points by richardgill88 a month ago · 1 comment · 1 min read

Reader

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.
richardgill88OP a month ago

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

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection