repo: error: no branches ready for upload 问题解决方式
前两天在使用
#git add .
#git commit
#repo upload .
repo upload 代码时 遇到 “repo: error: no branches ready for upload”的问题。在网上搜了下,都是在说这个是local branch没有关联到remote branch导致,网上的推荐方法如下
/*checkout new branch*/
#git checkout -b newbranch origin/master
/*merge branch*/
#git merge temp
#repo upload .
但是这个方法并没有解决我的问题,新的branch 在repo upload 时 仍然出现 no branches ready for upload 问题。我通过以下方法解决了
#git add .
#git commit -s -m "xxx"
#repo upload .
博主前两天使用repo upload代码时,遇到‘repo: error: no branches ready for upload’问题。网上认为是本地分支未关联远程分支所致,但该方法未解决其问题,博主通过自己的方法解决了此问题。
2274

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



