repo常用命令


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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM