Hacker News new | ask | show | jobs
by erik_seaberg 2111 days ago
“git stash push --patch” lets you choose hunks to copy into the new stash and clean out of the workspace. It’s pretty similar to “git add --patch” for choosing hunks to stage.