Hacker News new | ask | show | jobs
by asveikau 2485 days ago
git format-patch and git am are still very useful features, even if you're not Linus, not a Linux developer, or on Windows.

Basically you can serialize your git history as patches, transmit them any way you like (including email), and seamlessly re-integrate them as fully complete git commits.

I sometimes use this even when working only with myself, i.e. if I want to test a change on multiple machines before I'm ready to push. Then I can use normal git workflow to rebase, etc.