2.reposync源码出现错误部分解决方法

更新时间:2023-06-22 22:18:31 阅读: 评论:0

repo sync
出现错误
error: .repo/manifests/: contains uncommitted changes
解决⽅法:
de>cd .repo/manifests
什么泡脚好git stash
git clean -f -d
2.
repo sync中途出现error: error: Exited sync due to fetch errors
解决⽅法:
repo sync -jx -f --force-sync x的数值根据你电脑的配置来决定
3.
Fetching projects: 100% (228/228), done.
书法七字对联
新乡十大名吃Checking out files: 100% (18905/18905), done. files: 23%
(4359/18905)
Checking out files: 100% (4664/4664), done.
收据模板
Checking out files: 100% (9386/9386), done.out files: 0% (2/9386)
Checking out files: 100% (5365/5365), done.
Checking out files: 100% (292/292), done.g out files: 5% (16/292)
Checking out files: 100% (41/41), done.ing out files: 4% (2/41)
Syncing work tree: 35% (80/228) fatal: This operation must be run in
a work tree
Traceback (most recent call last):
File "/home/christian/Documents/yum/.repo/repo/main.py", line 366,
in <module>中国的戏曲
_Main(sys.argv[1:])
File "/home/christian/Documents/yum/.repo/repo/main.py", line 346,
in _Main
result = repo._Run(argv) or 0
File "/home/christian/Documents/yum/.repo/repo/main.py", line 137,
in _Run
result = cmd.Execute(copts, cargs)
File "/home/christian/Documents/yum/.repo/repo/subcmds/sync.py",
line 443, in Execute
project.Sync_LocalHalf(syncbuf)
File "/home/christian/Documents/yum/.repo/repo/project.py", line
黄山飞来石975, in Sync_LocalHalf
lf._InitWorkTree()
向着明亮那方File "/home/christian/Documents/yum/.repo/repo/project.py", line
1758, in _InitWorkTree
rai GitError("cannot initialize work tree")
error.GitError: cannot initialize work tree
剪彩
运⾏以下命令:
repo --trace sync -l
如果还报错,就删掉最后⼀个报错的⽂件
rm -rf xxxxxxxxxx

本文发布于:2023-06-22 22:18:31,感谢您对本站的认可!

本文链接:https://www.wtabcd.cn/fanwen/fan/82/1016509.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:电脑   对联   错误   出现   模板   戏曲   报错   收据
相关文章
留言与评论(共有 0 条评论)
   
验证码:
推荐文章
排行榜
Copyright ©2019-2022 Comsenz Inc.Powered by © 专利检索| 网站地图