Commit Frequency

Commit Frequency

par D Cocroft,
Nombre de réponses : 1

Hello, 

I had a question on "meaningful commits."  I just read my previous assignments comments and it says I should make more commits.  I know we briefly went over it in class, but I was wondering if there was a more extensive answer or convention for when to commit.  I have been committing for each completed step (which I guess is not enough), so should we be shooting to commit for each completed function, or each completed line of code, or some other metric?  

Thank you

En réponse à D Cocroft

Re: Commit Frequency

par Erik Spence,
Committing at each completed step should be sufficient, assuming your comments describing the commits are meaningful and clear. Send me an email describing which assignments you're referring to, and I'll take a closer look.