repo init -u https://github.com/frankie9527/RepoPractice -b main -m default.xml
repo sync
<manifest>
fetch :远端的baseUrl
<remote name="github" fetch="https://github.com/frankie9527" />
revision :这个指的是分支
<default revision="main" remote="github" />
//下面代码指的是 从 https://github.com/frankie9527/ArchitecturePractice 的mvvm 分支下代码到App/ArchitecturePractice
//文件夹
<project path="App/ArchitecturePractice" name="ArchitecturePractice" revision="mvvm"/>
</manifest>
如果不懂怎么写xml也可以参照一下meta-riscv