It's really a judgement call, although I'd definitely recommend against committing every single save. The only hard-fast rule I follow is to always commit whatever I have left-over at the end of the day, so that I never lose work overnight or over a weekend.
Other than that, if you felt like you've taken a decently-sized chunk out of whatever problem or feature you're currently working on, commit.
Re:GitHub Flow
by gnufied on Wednesday August 31, 2011 @02:22PM
(#2946836)
I think you are confusing committing with pushing? But even then, I do not see any harm in pushing often, you can always amend your commits before final merge or pull request.
Other than that, if you felt like you've taken a decently-sized chunk out of whatever problem or feature you're currently working on, commit.