repo sync 之后没有关联分支,显示 no branch

原因

repo 就是这么设计的
repo start <branch_name> --all

解决方案

repo sync
repo forall -pc 'git checkout --track $REPO_REMOTE/$REPO_RREV'

参考链接

posted @ 2022-06-01 00:32  Zijian/TENG  阅读(1057)  评论(0编辑  收藏  举报