是否有任何回购同步选项可以覆盖远程网址按指定项目
例如,我有本地内核 git 存储库和一些修补程序、驱动程序移植等
所以我想运行这样的假命令而不进行修改.repo/manifest.xml
仓库同步 --project-remote-url=git://my.server.ip/kernel.git
尝试用本地清单 https://gerrit.googlesource.com/git-repo/+/master/docs/manifest-format.md#local-manifests.
本地清单将与default.xml 合并。你可以添加或替换项目 https://github.com/LocalManifestsDemo/local_manifests在default.xml中。
例如:
<manifest>
<!-- add github as a new remote source -->
<remote name="github" fetch="git://github.com" />
<!-- remove project in default.xml -->
<remove-project name="platform/bootable/recovery" />
<!-- replace with new remote github -->
<project path="bootable/recovery" name="CyanogenMod/android_bootable_recovery" remote="github" revision="cm-10.1" />
<!-- add new project -->
<project path="external/busybox" name="CyanogenMod/android_external_busybox" remote="github" revision="cm-10.1" />
</manifest>
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)