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如何为表空间增加数据文件
  • 热门搜索
    山东旅游职业学院官网 北欧四国旅游 稻草人旅游 泰国曼谷旅游攻略 喀什旅游景点大全 哈尔滨旅游打折网 长白山旅游报价 湖北旅游局 密云水库旅游攻略 贵州旅游资源