4 ms·
When I’ve switched between my desktop and my laptop, I sometimes realize that I want some unpushed work-in-progress that’s still on the other machine. Then I of
by Hackbraten 4y ago
When I’ve switched between my desktop and my laptop, I sometimes realize that I want some unpushed work-in-progress that’s still on the other machine. Then I often do:
ssh other-machine git -C path/to/repo format-patch --stdout main.. | git am
Alternatively, if stuff is uncommitted and unstaged:
ssh other-machine git -C path/to/repo diff | git apply