git pull 代码出现 hung up unexpectedly

 时间:2026-04-28 08:03:08

1、查看网络是否有问题,查看电脑是否卡顿,如果网络问题直接去网络好点的地方拉取;如果电脑卡顿可重启电脑进行重新拉取;

git pull 代码出现 hung up unexpectedly

2、如果上述都正常。 进行检查错误原因,执行

git fsck --full 一般会出现如下图

git pull 代码出现 hung up unexpectedly

git pull 代码出现 hung up unexpectedly

3、然后根据图中显示的位置和文件去到.git的项目下面去删除

git pull 代码出现 hung up unexpectedly

4、删除后执行git pull 查看是否通过 有时候会出现下面的错误信息

git pull 代码出现 hung up unexpectedly

git pull 代码出现 hung up unexpectedly

5、还是照着路径去删除这个文件

git pull 代码出现 hung up unexpectedly

6、然后执行git pull 会发现已经可以了

7、如果上述扔不好用,直接重新clone代码,省去了很多麻烦

  • 在VScode中如何打开双列布局
  • 魅族手机的ip地址在哪里查看
  • ipsec如何穿越nat
  • 苹果Safari浏览器在哪启用网页检查器
  • TOAD for ORACLE如何为表空间增加数据文件
  • 热门搜索
    wife是什么意思 在地下城寻求邂逅是否搞错了什么漫画 斯文的意思 枯萎的意思 vmi是什么意思 自由自在的意思 plt是什么意思 天马行空的意思 微信公众号有什么用 password是什么意思