我们有一个私有存储库,当我今天尝试推送一个新分支时,遇到了以下错误。为了确保我的特定计算机上是否存在某些配置问题,我尝试从另一台计算机上推送新分支,但最终出现类似错误。
pre-receive hook declined
pre_receive_hook.py: failed with exit status 1
No .cqg1_configs/cip_service_pre-receive-hook.yml found. Using default config.
Checking branch my_branch_name
ERROR: The branch name "my_branch_name" is not allowed:
Use one of the following instead:
- feature/<jira id>/someName
- release/<major number>.<minor number>.x
- sandbox/someName
有人遇到这个问题或有人对此有任何解决方案吗?