Push rejected: Push master to origin/master was rejected /failed to push some refs to /git did not exit cleanly

时间:2024-07-02 11:07:02

用studio提交代码报

  Push rejected: Push master to origin/master was rejected

用TortiuseGit提交代码报下面错,(我是用这种方法解决的)

Push rejected: Push master to origin/master was rejected  /failed to push some refs to  /git did not exit cleanlyPush rejected: Push master to origin/master was rejected  /failed to push some refs to  /git did not exit cleanly原来 这里是一一对应的,

改了这里解决问题Push rejected: Push master to origin/master was rejected  /failed to push some refs to  /git did not exit cleanly

Counting objects: 4, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (4/4), done.
Writing objects: 100% (4/4), 424 bytes | 0 bytes/s, done.
Total 4 (delta 3), reused 1 (delta 0)
remote: warning: Large files detected.
remote: error: File .gradle/2.14.1/taskArtifacts/fileSnapshots.bin is 107.49 MB; this exceeds file size limit of 100.0 MB
remote: error: hook declined to update refs/heads/pay
To https://gitee.com/www.dub.get/silicon_valley_study.git
! [remote rejected] pay -> pay (hook declined)
error: failed to push some refs to 'https://gitee.com/www.dub.get/silicon_valley_study.git'

中间也报过一阵(这个方法网上资料都试遍了都不行)

git did not exit cleanly (exit code 1)