git 删除远程master 分支


➜  fekit-extension-yo git:(dev) git push origin :master

remote: error: By default, deleting the current branch is denied, because the next

remote: error: 'git clone' won't result in any file checked out, causing confusion.

remote: error:

remote: error: You can set 'receive.denyDeleteCurrent' configuration variable to

remote: error: 'warn' or 'ignore' in the remote repository to allow deleting the

remote: error: current branch, with or without a warning message.

remote: error:

remote: error: To squelch this message, you can set it to 'refuse'.

remote: error: refusing to delete the current branch: refs/heads/master

To git@gitlab.corp.qunar.com:fed/yobuilder.git

 ! [remote rejected] master (deletion of the current branch prohibited)

error: failed to push some refs to 'git@gitlab.corp.qunar.com:fed/yobuilder.git'   

-->

上一篇:KeilC51常用功能模块使用说明


下一篇:xss 防止攻击,恶意用户将输入的信息当成html或js代码执行,办法是将用户输入的信息改为text格式,或特殊符号转义