repo sync同步出错解决

当出现下面提示时

e list of known hosts.
Fetching: 100% (1167/1167), done in 44.619s
info: A new version of repo is available
warning: repo is not tracking a remote branch, so it will not receive updates
================================================================================
Repo command failed: RepoUnhandledExceptionError
        GitCommandError: 'reset --keep v2.46^0' on repo failed
stderr: error: Entry 'git_command.py' not uptodate. Cannot merge.
fatal: Could not reset index file to revision 'v2.46^0'.

解决方案是 

cd .repo/repo

之后执行 git pull

同步最新 repo 之后

再次repo sync -j43  即可正常

之后正常

相关推荐

  1. WSL时间不同步解决方法

    2024-07-15 07:06:08       44 阅读
  2. Unity 帧同步游戏解决方案梳理

    2024-07-15 07:06:08       30 阅读
  3. 黑马es数据同步mq解决方案

    2024-07-15 07:06:08       18 阅读
  4. k8s helm安装Tiller出错解决

    2024-07-15 07:06:08       50 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-07-15 07:06:08       70 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-07-15 07:06:08       74 阅读
  3. 在Django里面运行非项目文件

    2024-07-15 07:06:08       62 阅读
  4. Python语言-面向对象

    2024-07-15 07:06:08       72 阅读

热门阅读

  1. 【信息收集】 IP信息收集

    2024-07-15 07:06:08       23 阅读
  2. 线程同步的使用(一)

    2024-07-15 07:06:08       29 阅读
  3. lvs集群

    lvs集群

    2024-07-15 07:06:08      29 阅读
  4. Bootstrap 栅格系统的工作原理?

    2024-07-15 07:06:08       24 阅读
  5. Nacos

    Nacos

    2024-07-15 07:06:08      26 阅读
  6. 中介者模式(大话设计模式)C/C++版本

    2024-07-15 07:06:08       28 阅读
  7. 软设之中介者模式

    2024-07-15 07:06:08       25 阅读
  8. Go语言指针及不支持语法汇总

    2024-07-15 07:06:08       22 阅读
  9. linux命令更新-iostat 和 iotop

    2024-07-15 07:06:08       22 阅读