Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I do this too, although I definitely make commits along the way. Then at the end I rebase and batch things up. My in progress commits are usually just things like "works here" or whatever. I truly love having git backing me up as I play with code - it's a superpower that basically no other field has access to. (imagine if you could drop a commit before you make that circular saw cut and revert when it went off, or revert the splotch of paint you got on the ceiling! )

The mindset has even become part of how I play Factorio, I have dozens of save files like "pre big train refactor" and similar.



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

Search: