在重新设置基准后将代码推送到GIT时遇到错误。我正在使用强制推送,但也失败了。 我已经完成了my_branch开发的基础。
我尝试过
git push --force origin my_branch
它也会给出错误。
DENIED by fallthru : (hook declined)
Enumerating objects: 52, done.
Counting objects: 100% (52/52), done.
Delta compression using up to 4 threads
Compressing objects: 100% (19/19), done.
Writing objects: 100% (32/32), 5.58 KiB | 1.39 MiB/s, done.
Total 32 (delta 8), reused 0 (delta 0)
remote: FATAL: + refs/heads/my_branch fmea/dev_fmea_maven_webapp kumard2 DENIED by fallthru
remote: error: hook declined to update refs/heads/my_branch
To ssh://codex.cro.st.com/fmea/dev_fmea_maven_webapp.git
! [remote rejected] my_branch -> my_branch (hook declined)
error: failed to push some refs to 'ssh://gitolite@codex.cro.st.com/fmea/dev_fmea_maven_webapp.git'
我期望使用强制推送,它应该可以工作。
答案 0 :(得分:0)
“ DENIED by fallthru
”指向由gitolite管理的远程存储库。
您可以请求admin for tracing the gitolite access control decision
gitolite access -s dev_fmea_maven_webapp fmea W+ any
这将使您对现有规则有所了解。