These are valid ways of using git. Not the best ways, but valid ways.
Git is a toolkit and some people lost sight of this. The fact that it is good at merging code is almost irrelevant to the fact it's good at maintaining snapshots of file structures, and so on.
If you're getting the benefits of any of these use cases, it's valid usage for sure. We all gotta start somewhere and where you started was the same as most of us: cloning and pushing to master!
Re-cloning is just pulling with extra steps. I don't see this as wrong, just different and with some redundant steps.
I was more irked that his workflow included pushing direct to master with no care for the process we had agreed as a team to follow. I could take or leave the rest of his discipline with git.
I'll admit that in projects where I'm the only developer, I tend to work out of master almost all the time. But when working as a team, being disciplined with branches is essential.
28
u/killeronthecorner Oct 21 '22
These are valid ways of using git. Not the best ways, but valid ways.
Git is a toolkit and some people lost sight of this. The fact that it is good at merging code is almost irrelevant to the fact it's good at maintaining snapshots of file structures, and so on.
If you're getting the benefits of any of these use cases, it's valid usage for sure. We all gotta start somewhere and where you started was the same as most of us: cloning and pushing to master!
Re-cloning is just pulling with extra steps. I don't see this as wrong, just different and with some redundant steps.