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

git add -p is extremely useful if I encounter a typo or something while doing some other change. Then I can commit this small unrelated change in its own commit without mixing with actual changes and without losing my context (of course this should be trivial stuff only, as it might be mixed up in the feature branch of current work)


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

Search: