1.cd到你工作文件夹

2.将Git上面的源码克隆下来git clone https://github.com/SuperPlus.git

3.cd进去这个文件夹

4.git checkout -b dev 新建并切换到本地dev分支
git pull origin dev 本地分支与远程分支相关联

5.如果在执行Git push的时候出现错误:fatal: The upstream branch of your current branch does not match the name of your current branch.
那么执行:git push -u origin dev 即可!!!!!
网友评论