git, gitolite error push

后端 未结 3 1203
温柔的废话
温柔的废话 2021-01-01 16:16

I just installed gitolite but when I push on the repository gitolite-admin I get an error:

git push
Counting objects: 9, done.
Delta compression using up to          


        
3条回答
  •  北荒
    北荒 (楼主)
    2021-01-01 16:55

    Googling for "Empty compile time value given to use lib at hooks/update", first result is in Gitolite FAQ:

    You're bypassing gitolite. You cloned the repo using the full path (i.e., including the repositories/ prefix), either directly on the server, or via ssh but with a key that gives you shell access.

    Solution: same as for the previous bullet.

    Previous bullet:

    Use a different keypair for gitolite. There's a slightly longer discussion in the setup page. Also see why bypassing causes a problem and both the documents in ssh for background.

提交回复
热议问题