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

I tend to use `git add -p` for exactly this purpose ;-)


I really hate how there's a smallest possible chunk you can't split any further/do line-by-line commits without a lot of hassle.


Holy hell

I had no idea git had that feature, that’s amazing. You’ve significantly improved my workflow


Even better is `git gui`, it lets you stage individual line changes.




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

Search: