【发布时间】:2013-02-21 19:02:18
【问题描述】:
我们在 Team Foundation Service 中使用 git,我们正在尝试通过运行以下命令找到删除远程分支的方法。
git push origin --delete TheBranchName
远程服务器一直拒绝并出现以下错误
! [remote rejected] TheBranchName (TF401026: The ForcePush permission is required to perform this action.) error: failed to push some refs to 'https://xxx.visualstudio.com/DefaultCollection/_git/Xxxxxx'
知道如何在 TFS 中为用户设置正确的权限吗?
【问题讨论】:
-
您似乎没有足够的权限来执行此操作。顺便说一句,命令是正确的
标签: git tfs azure-devops