Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git-flow 命令用法解释 #5

Open
jerrychir opened this issue Jan 9, 2019 · 0 comments
Open

git-flow 命令用法解释 #5

jerrychir opened this issue Jan 9, 2019 · 0 comments

Comments

@jerrychir
Copy link
Owner

jerrychir commented Jan 9, 2019

git-flow 命令用法解释

1. 初始化

git flow init

2. 开发分支(基于develop的feature)

  • 增加新特性

新特性的开发是基于 'develop' 分支的

git flow feature start xxxx
  • 完成新特性

合并 MYFEATURE 分支到 'develop'
删除这个新特性分支
切换回 'develop' 分支

git flow feature finish xxxx
  • 发布新特性

发布新特性分支到远程服务器

git flow feature publish xxxx
  • 取得一个发布的新特性分支

取得其它用户发布的新特性分支

git flow feature pull origin xxxx
或
git flow feature track xxxx

3. release版本(支持一个新的用于生产环境的发布版本,允许修正小问题,并为发布版本准备元数据)

Feature branches? [feature/]
Release branches? [release/]
Hotfix branches? [hotfix/]
Support branches? [support/]
Version tag prefix? []

.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant