我想从我的中央git存储库中删除一个远程分支.通常的建议是做'git push origin:branchname'或'git push origin:heads/branchname'.但是当我尝试这个时,我收到此错误消息:
***在此存储库
错误中不允许删除分支:hooks/update退出并显示错误代码1
错误:hook拒绝更新refs/heads/branchname
到/opt/repo/myrepo.git
![远程拒绝] branchname(钩子拒绝)
错误:未能将某些引用推送到'/opt/repo/myrepo.git'
是什么赋予了?我正在使用git版本1.5.4.3,如果这有帮助的话.
git ×1