码云提交

1、进入项目根目录
$ cd f:
$ cd travel
2、切换到新增分支
$ git checkout city-router(分支名)
3、提交写好的项目
$ git add .
$ git commit -m 'city-router'(分支名)
$ git push
4、回到主分支
$ git checkout master
5、主分支合并新增分支代码
$ git merge city-router(分支名)
6、提交主分支代码
$ git push

原文地址:https://www.cnblogs.com/yingchuanxiaoge/p/9804709.html