Git 版本控制之 GitFlow
Summary: Author: 张亚飞 | Read Time: 1 minute read | Published: 2018-03-15
Filed under
—
Categories:
Linux
—
Tags:
Note,
Git Flow
Git 版本控制之 GitFlow git-flow 的工作流程 Gitflow Workflow
安装 git-flow
我们使用 Homebrew
来安装 git-flow
:
brew install git-flow
通过 git-flow
初始化项目:
git flow init
查看 git flow feature
子命令
$ git flow feature help
usage: git flow feature [list]
or: git flow feature start
or: git flow feature finish
or: git flow feature publish
or: git flow feature track
or: git flow feature diff
or: git flow feature rebase
or: git flow feature checkout
or: git flow feature pull
or: git flow feature delete
新建分支 feature/promotion
git flow feature start promotion
完成分支 feature/promotion
git flow feature finish promotion
Comments