【Android】CM在repo中使用local manifest

gvim .repo/local_manifests/hardware.xml

<?xml version="1.0" encoding="UTF-8"?>
<manifest>

  <remote  name="github"
           fetch=".."
           review="review.cyanogenmod.org" />

  <remote  name="private"
           fetch="ssh://git@github.com" />

  <project path="hardware/samsung" name="CyanogenMod/android_hardware_samsung" remote="github" revision="refs/heads/jellybean" />

</manifest>

 reposync -j16

scue@Link:/media/scue/Source/JellyBean$ reposync 
remote: Counting objects: 1374, done.
remote: Compressing objects: 100% (920/920), done.
remote: Total 1374 (delta 543), reused 1078 (delta 365)
Receiving objects: 100% (1374/1374), 1.05 MiB | 66 KiB/s, done.
Resolving deltas: 100% (543/543), done.
From git://github.com/CyanogenMod/android_hardware_samsung
 * [new branch]      jellybean  -> github/jellybean
Fetching projects: 100% (316/316), done.  
Syncing work tree: 100% (316/316), done.  
------------
微博:http://weibo.com/scue
Github:http://github.com/scue
原文地址:https://www.cnblogs.com/scue/p/3114927.html