我刚刚使用git(本地-> Bitbucket-> goDaddy服务器)设置了我的第一个工作流程。我将自己的Bitbucket存储库克隆到了Godaddy,并且一直在通过ssh进行更新,直到今天该更新工作了几天。现在,当我
git status
它挂了。或者如果我
git pull origin master
我得到
remote: Counting objects: 154, done.
remote: Compressing objects: 100% (105/105), done.
remote: Total 154 (delta 47), reused 140 (delta 39)
Receiving objects: 100% (154/154), 123.64 KiB, done.
Resolving deltas: 100% (47/47), completed with 18 local objects.
From bitbucket.org:user-name/repo-name
* branch master -> FETCH_HEAD
Updating 3852b0c..66c2fd4
然后挂起。
我终于进入GoDaddy cPanel,发现挂起是由于I / O和内存使用率最大化所致。如果我关闭进程,则资源将重置。拉力是很小的变化,因此我无法确定是什么原因导致其冻结。我对GIT和SSH还是很陌生-我做错了什么吗?
更新
已删除并重新添加了克隆。克隆在以下情况后挂断:
remote: Counting objects: 21858, done.
remote: Compressing objects: 100% (16186/16186), done.
remote: Total 21858 (delta 4535), reused 21683 (delta 4409)
Receiving objects: 100% (21858/21858), 36.68 MiB | 1022 KiB/s, done.
Resolving deltas: 100% (4535/4535), done.
尝试git fsck并获得以下内容
notice: HEAD points to an unborn branch (master)
notice: No default references
当我正在进行处理时,内存和I / O仍然达到峰值,然后在关闭时稳定下来。有想法吗?