1.初始化
repo init –u <URL> [<OPTIONS>]
2.同步代碼
repo sync
3.查看分支
repo branch
4.repo對所有git倉庫的同步操作
repo forall -c git checkout xxxbranch //切換或創建分支,xxxbranch和遠程分支名一樣
repo forall -c git clean -fd
repo forall -c git reset --hard HEAD
repo forall -c git pull