repo init -u https://github.com/CyanogenMod/android.git -b cm-13.0
repo sync -j5 -f
fatal: Couldn't find remote ref refs/heads/cm-13.0
这是repo 有问题,把repo 更新下版本到VERSION = (1, 22); 我是直接替换掉了.repo/repo 整个目录
下载地址:https://code.google.com/p/git-repo/
======
用repo sync project时候就可以更新了
cat .repo/manifest.xml|grep "<project" |grep name|awk '{print $3}'|awk -F'"' '{print $2}'| while read IN; do echo ${IN}; repo sync $IN; done