DEV Community

Discussion on: Git Workflow: Do you commit to master on your solo projects?

Collapse
 
chriskarpyszyn profile image
Chris Karpyszyn

Even on solo projects I'll have a production, a develop and work in feature branches.

I think there are two main benefits of this.

First, branches allow you to prototype features and dump them easily without ever hitting your main branches. There will be no need to do any crazy gitfu to clean up something buggy or that you don't want.

Second, practice makes perfect. If you cut corners in your personal life, you'll carry that over when you'll need to follow a stricter git workflow.

Collapse
 
daveskull81 profile image
dAVE Inden

Great points. I really like the perspective of how practicing the right methods in a personal project makes for good habits at work. It’s very true.