DEV Community

Discussion on: What are your WORST git fails?

Collapse
 
nombrekeff profile image
Keff

I have mistakenly tried to push directly to main branch but thankfully when working in a live project, it was setup in a way that it didn't allow me to do that. :)

Yeah that's a really nice thing to have, we have rules on our repos for this reason

It's saved us quite a few times