git在添加用户后推送

时间:2014-11-03 10:08:22

标签: git push

这条消息是什么意思?我无法将存储库推送到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$

1 个答案:

答案 0 :(得分:0)

远程计算机上的挂钩update出错。查看远程服务器上hooks/update中的脚本并找到问题。