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

That's pretty much how I use git. My text editor auto saves, I work on a task, doing refactors, or throw away wishful code along the way. When I feel like I'm at a good point for a commit, I repeatedly use `git status`, `git diff`, and `git add -p` to split the sum of changes into a reasonable set of commits. A commit does not need to be all-or-nothing.



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

Search: