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如何为表空间增加数据文件
  • 热门搜索
    中秋节又叫什么节 两个毫不动摇是指什么 什么狗狗最好养 呼朋引伴的意思 animal是什么意思 人间四月芳菲尽山寺桃花始盛开的意思 高傲是什么意思 引人注目的意思 小智长什么样 树叶的作用