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

Unfortunately git's staging area concept encourages you to do exactly the opposite of this.


I almost only use it to cherry-pick and then immediately commit?


Right, all the good use cases involve not actually using it - if you're immediately committing then it would be better if it just became a commit.


I meant: I cherrypick from my changes and commit bugfixes and drive-by update of comments separately.

My bad. I shouldn't have used the word cherrypick there.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: