DEV Community

Discussion on: You better commit often!

Collapse
 
annadayl profile image
Ania Gajecka

I totally agree. I commit when I have the working piece of code, with meaningful commit message. That way it is SO much easier to find what you did in the past.

Collapse
 
wilkuintheair profile image
Piotr Wilk

Yeah! But actually with this kind of work you often have not really working piece of code or even at the beginning not working at all. And still you should commit that IMO.
In the past I didn't do it, I committed only when it worked perfectly. And the result was 3, maybe 4 commits. Then few months later I was wondering "Damn, why this change is here?!"