我有一个小项目,我想在我们都可以访问的机器上与其他几个人分享。我创建了本地存储库的裸副本
git clone --bare --no-hardlinks path/to/.git/ repoToShare.git
然后我将 repoToShare.git 移至服务器。
我可以通过以下方式进行检查:
git clone ssh://user@address/opt/gitroot/repoToShare.git/ test
然后我可以在本地 repo 中查看所有内容并对此进行提交。当我尝试将更改推送回远程服务器时,出现以下错误。
*** Project description file hasn't been set
error: hooks/update exited with error code 1
error: hook declined to update refs/heads/master
有任何想法吗?