DEV Community

Discussion on: why branching on git is wrong

Collapse
 
martinfeineis profile image
Martin Feineis • Edited

The last company I worked at had every dev forking the repos they were working on, and then making PRs to the company repos. For me (being a messy brancher) that worked pretty good, nobody could see my mess, I obviously only committed clean working code, and the company branches were clean and few.

Collapse
 
anortef profile image
Adrián Norte

Interesting approach.

Collapse
 
jmorandook profile image
Jorge 🇦🇷

wait, you are posting an opinion about git branching and you never heard of forking? this, i think, tells us everything we need to know.

Thread Thread
 
anortef profile image
Adrián Norte

Of course I know what forking is but I never seen a company working that way.

Collapse
 
thehanna profile image
Brian Hanna

I like that approach. Sounds like it would work well with really large codebases

Collapse
 
martyonthefly profile image
Sylvain Marty

We work like that in my company, this is a very good way for branching without messing with the main repositories branches 👍 Pull request in a lovely team, this makes all my days at work 😍