Git Flow

搬运工:https://www.cnblogs.com/wish123/p/9785101.html?tdsourcetag=s_pctim_aiomsg

几个常用的指令:

1、查看分支:
git branch

2、创建分支(修复缺陷命名以hotfix-开头):
git branch hotfix-xx

3、切换分支:
git checkout

4、拉取父分支最新代码:
git pull origin develop

5、提交:
git commit --no-verify -m'xx'

6、指定分支提交:
git push -u oringin hotfix-xx

7、删除分支(要在别的分支上操作):
git branch -d hotfix-xx

posted @ 2019-12-30 15:32  IL风子  阅读(164)  评论(0编辑  收藏  举报