Git一些常用命令

命令

Remote

git remote set-url origin [email protected]:xfans/VirtualApp.git

git push origin master

Upstream

git remote add upstream [email protected]:asLody/VirtualApp.git

git fetch upstream

git merge upstream/master

快速下载android frameworks源码

git clone --branch android10-release [email protected]:mirrors/platform_frameworks_base.git --depth 1