我试图将内容从工作站推送到服务器,但出现了错误。请查看以下命令和错误:
Administrator@ganesh ~/testing
$ git push origin master
Counting objects: 3, done.
Writing objects: 100% (3/3), 241 bytes, done.
Total 3 (delta 0), reused 0 (delta 0)
remote: ENV GL_RC not set
remote: BEGIN failed--compilation aborted at hooks/update line 20.
remote: error: hook declined to update refs/heads/master
To git@ganesh:repositories/testing
! [remote rejected] master -> master (hook declined)
error: failed to push some refs to 'git@ganesh:repositories/testing'
看起来我需要设置环境变量GL_RC
。是这样吗?
这里有人能告诉我问题可能是什么,以及如何解决吗?我正在Windows Server 2003上使用gitolite。