Closed reed-foster closed 4 months ago
Whatever you commit to master won't be authorized to be pushed without PR so I don't really see the use of it. Maybe I am missing something?
Yeah, the branch protection will prevent you from pushing local changes. This would just be in addition to that, so you can't end up with local changes to master in the first place. That way you can't accidentally commit to your local copy of master and then have to do a soft reset to roll back the commit.
Something like this: