Я использовал Git Enterprise в компании.Когда я ' git push ', он сказал мне следующую ошибку:
$ git push
Counting objects: 289, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (264/264), done.
Writing objects: 100% (289/289), 9.95 MiB | 207.00 KiB/s, done.
Total 289 (delta 37), reused 0 (delta 0)
remote: Resolving deltas: 100% (37/37), completed with 4 local objects.
remote: hooks/xxxx.sh: failed with exit status 1
remote: refs/heads/master 347a6011604730df57a348f8aa166b747d9684fe 4f6d30e187b4d20ea5ba56bd9babcdf3a3b3021b
remote: We have restricted committing abc.zip filetype.
remote: ********RESTRICTED********
remote: abc.zip
remote: **************************
To https://gitprod.xxx
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://gitprod.xxx
Как удалить файл zip и нажать еще раз, я попытался пару способов, но не нашелправильный путь.Спасибо.