`master` is protected branch

引用《关于受保护分支》 最近需要删除几张图床上的图片,在推送的时候报错`master` is protected branch
  1. 进入网页https://github.com/[username]/[repositoriesname]
  2. 点击Settings-Branches
  3. 在Branch protection rules下点击Add rules
  4. Branch name pattern填入master
  5. 拉动页面到最下方找到Rules applied to everyone including administrators
  6. 点击Create,之后输入密码确认即可。