这条消息是什么意思?我无法将存储库推送到git服务器。
user@PC:
~/gg/gitolite-admin$ git push
root@git.server's password:
Counting objects: 15, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (11/11), done.
Writing objects: 100% (11/11), 1.81 KiB | 0 bytes/s, done.
Total 11 (delta 3), reused 0 (delta 0)
remote: Use of uninitialized value in do "file" at hooks/update line 36.
remote: Null filename used at hooks/update line 36.
remote: error: hook declined to update refs/heads/master
To root@git.server:/var/lib/gitolite/repositories/gitolite-admin
! [remote rejected] master -> master (hook declined)
error: Fehler beim Versenden einiger Referenzen nach 'root@git.server:/var/lib/gitolite/repositories/gitolite-admin'
user@PC:~/gg/gitolite-admin$
答案 0 :(得分:0)
远程计算机上的挂钩update
出错。查看远程服务器上hooks/update
中的脚本并找到问题。