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

A lot of times I use "git add -p" to cleanup code, e.x. if I added some extra logging statements I don't want to commit I can go through adding everything except the log statements, then reset everything that hasn't been added to the index.


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

Search: