Hacker News new | past | comments | ask | show | jobs | submit login

I find that the command "git add -p", which allows you to add individual sections of files rather than whole files before committing, helps with this issue.

It's quite natural to wind up with a bunch of work that really needs to be in multiple commits. I don't think this ever changes for most of us.




That’s basically what I do, I just end up doing it in large spurts. I typically use the cli for most things but I like the GitHub app for picking out changes for a particular commit.




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: