- Feature Branch
- Release Branch
- Hotfix Branch
- git checkout dev
- git branch 查看是否在dev分支上
- git add .
- git commit -m "注释"
- git branch --set-upstream-to=origin/dev
- git push origin dev
- git checkout -b myfeature dev
- 修改代码并且add 和commit之后,切换到dev分支 git checkout dev
- 将myfeature分支合并到dev分支 git merge --no-ff myfeature
- 删除myfeature分支 git brach -d myfeature
- 提交到远程dev分支 git push origin dev