Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

What does this warning (Your branch isn't protected) from GitHub mean?

I have a warning on a particular GitHub repository that states:

Your main branch isn’t protected

Protect this branch from force pushing or deletion, or require status
checks before merging.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

  1. Does this mean that anyone can just delete my main branch?
  2. Or, does this mean people in my "group" that have access in the first place are able to delete my main branch? Thus, if I have no group of devs (I’m the only one) then the repo is protected by default?

Is There Basic Protection?

Isn’t the repo protected by the fact that I have to sign in to push to it, meaning that someone would have to be able to sign in to the repo to delete or push against it?

>Solution :

The message means that contributors can force push and delete your branch. You would need to grant access to make someone a contributor.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading