我正在开发一个小型的Drupal网站,试图将我的本地Windows计算机上的更改推送到HostGator共享托管帐户(linux),并从该帐户中拉取更改。我在我的计算机上安装了Git Bash,并在其中设置了无密码登录。这似乎运行良好。
以下是我的命令:
git clone "ssh://user@domain.com/~/public_html/.git"
以下是完整的回应:
Cloning into public_html...
error: git upload-pack: git-pack-objects died with error.
remote: Counting objects: 3330, done.fatal: git upload-pack: aborting due to possible repository corruption on the remote side.
remote: fatal: unable to create thread: Resource temporarily unavailable
remote: aborting due to possible repository corruption on the remote side.
fatal: early EOF
fatal: index-pack failed
以下是我尝试的内容:
ssh domain.com
Last login: Mon Jan 23 14:38:07 2012 from xxxx
[user@domain.com]$ cd public_html
[user@domain.com]$ git fsck
[user@domain.com]$
我还尝试删除本地和远程Git仓库,重新进行git init并提交所有内容。但是在尝试将存储库克隆到我的机器时,我仍然会收到相同的错误。
为什么我无法从远程站点克隆(或拉取)?我该如何解决这个问题?