These aren’t backups. They are commits. They may be commits of
works in progress, skeletons, etc., but they are you -committing-
and annotating artifacts of your process.
I agreee. That’s what I’m saying I see no value to.
These commits offer visibility to other members of your team, a
record of your thinking,
Perhaps you’d care to elaborate on why this is helpful? Perhaps a situation where you’ve seen it come in handy? Personally, I find my fellow developer’s working code to be hard enough to read. I can’t imagine ever wanting to troll through their non-working code.
and, as I mentioned above, a safety net
allowing you to roll back to a state you previously explicitly
declared useful.
Yes, but the way I do it is a much better safety net. I get every old version of my file saved automaticly, whether I thought it was important at the time or not. This is better because we aren’t allways the best judge of when we need to save off a fallback position. When you need to go back, you had to have guessed right (and thought to check in at the right time). I have it no matter what.
When you have a well-appointed development infrastructure, these interim commits offer a basis for automated testing tied to checkins.
That might be nice. However, my environment cross-compiles, and I’m typically working on device drivers. There’s no way to create useful automated tests.
I’m still not convinced it would be that useful either though. If I thought my code was good enough to pass all the automated tests, I’d probably be checking it in anyway. Alternatively, if I know its not going to pass, wouldn’t it just cause problems to check it in and break the tests?
The issue I don’t see anybody addressing is what to do about those times I work days, or even (occasionally) weeks on a load that doesn’t compile. Perhaps I’m just slower than y’all, so this only comes up for me?