我创建了一个裸存储库并克隆了它。在我的克隆存储库中,我做了一个提交。现在我正在尝试将此提交推送回我克隆的存储库,该存储库被定义为remote:
git remote -v
origin: ssh://user@server.com/some/path/barerepo (fetch)
origin: ssh://user@server.com/some/path/barerepo (push)
但我收到以下错误:
fatal: '/some/path/barerepo' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
可能是什么问题?
修改 问题是barerepo文件夹中的某些文件没有执行权限。什么文件需要此权限?