mkdir rnmerchant
cd rnmerchant
git init
echo "# rnmerchant" >> README.md
git add README.md
git commit -m "first commit"
git remote add origin https://git.coding.net/lovecross/rnmerchant.git
git push -u origin master
切换分支
如果没有看到你想要的分支,先获取所有分支
git fetch
切换到远程xxx分支
git checkout origin/xxx
网友评论