Hacker News new | ask | show | jobs
by mjsir911 1221 days ago
I tend to use `git add -p` for exactly this purpose ;-)
2 comments

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.