VS2015推送出错

提示信息:refs/heads/master, pre-receive hook declined

解决方案:

法1:

重新clone到本地。

法2:

1.重新clone→
2.撤销不是自己的更改(如:DesignTimeResolve……)→
3.提交。

法3:
使用命令推送:git push

$ git push
Counting objects: 8, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (7/7), done.
Writing objects: 100% (8/8), 878 bytes | 0 bytes/s, done.
Total 8 (delta 5), reused 0 (delta 0)
remote: GitLab: You are not allowed to push code to this project.
To http://10.0.0.24/root/HemoSystem.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'http://10.0.0.24/root/HemoSystem.git'

出现提示:You are not allowed to push code to this project.
解决方案:在GitLab后台添加Pull权限。

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

友情链接更多精彩内容