DEV Community

Discussion on: Hack or maybe not: "Deleting" master when it gets too big

Collapse
 
codemouse92 profile image
Jason C. McDonald

Ohhhhhhhhhhhhhhhhh, no, please don't. master should be your canonical "we checked that this code works". If deleting master seems like a "good idea," the team workflow is seriously borked, and you need to get outside help to overhaul it.

Collapse
 
jenc profile image
Jen Chan

Thanks for giving me perspective. I always enjoy these threads cause I'm never 100% sure of the approach but my lack of experience makes me real malleable

Collapse
 
manlycoffee profile image
Sal Rahman

The author did not actually delete master on the remote repo, if that's what you're implying.

Collapse
 
codemouse92 profile image
Jason C. McDonald

While I wasn't entirely certain which master he referred to, my concern stands in either case. See my replies to the other comment pointing out that he meant "delete local master".

Collapse
 
manlycoffee profile image
Sal Rahman • Edited

If deleting master seems like a "good idea," the team workflow is seriously borked [...].

Like how?