Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

All I can say is I use

    git commit --patch
(and therefore `add --patch` is never even required!)

    git checkout --patch
to selectively revert hunks, and

    git stash --patch
to selectively stash. I couldn't be happier with this workflow!


Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: