1. git提交命push
git config --global user.name "git用户名"
git config --global user.email "git密码"
git add .
git commit -m "提交内容介绍"
git remote add origin 远程名称(http://.../project.git)
git push -u origin master (-f) -f表示强制提交
2. 分支合并pull
V0.1是远程的分支名称
git pull origin V0.1
如果出现版本不一致,则需要加上:
git pull origin V0.1 --allow--unrelated-histories
3. 切换版本checkout,切换到V0.1版本
git checkout origin/V0.1