Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not allow deleting main or master branch #21

Open
0livare opened this issue Aug 4, 2022 · 0 comments
Open

Do not allow deleting main or master branch #21

0livare opened this issue Aug 4, 2022 · 0 comments

Comments

@0livare
Copy link
Owner

0livare commented Aug 4, 2022

Both main and master are the default names for the long running primary branch in a repo, and should not be able to be accidentally deleted by a tool.

So let's add a special case to the delete command to never suggest main or master for deletion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant