DEV Community

Discussion on: How do you use git when working solo?

Collapse
 
darkwiiplayer profile image
𒎏Wii 🏳️‍⚧️

I don't really branch from master at all when working on my own and do a lot of force-pushing. I attempt to do force-pushes within ca. 10 minutes of the first commit that would be replaced to reduce the chance of any random person cloning the repo in that precise moment to something reasonably low.

As for commit messages, I usually don't write more than the first line and occasionally add a paragraph explaining my rationale if it isn't obvious from the change itself.