在使用repo sync 的时候, 以时候会出现以上错误的时候, 使用:
git branch -r
获得upstream的分支信息: m/gingerbread -> umg/kernel/2.6.35.3/stable
然后使用git rebase m/gingerbread -> umg/kernel/2.6.35.3/stable
将发前分支变基到与upstream同步,以后再用repo sync 就没有问题了
git:branch is published (but not merged) and is now commits behind
最新推荐文章于 2022-12-11 17:01:57 发布
本文提供了解决使用reposync时遇到错误的方法,通过变基操作与上游分支同步,确保后续操作顺利进行。

1万+

被折叠的 条评论
为什么被折叠?



