`
sillycat
  • 浏览: 2551838 次
  • 性别: Icon_minigender_1
  • 来自: 成都
社区版块
存档分类
最新评论

Using Git Flow based on Github

 
阅读更多
Using Git Flow based on Github
1. Install git-flow
>sudo port install git-flow

2. First configuration
>git flow init
>git flow init
Which branch should be used for bringing forth production releases?
   - master
Branch name for production releases: [master]
Branch name for "next release" development: [develop]

How to name your supporting branch prefixes?
Feature branches? [feature/]
Release branches? [release/]
Hotfix branches? [hotfix/]
Support branches? [support/]
Version tag prefix? []

Small features.
>git flow feature start rest-read-api

Or

>git checkout -b feature/rest-read-api develop

>git flow feature finish rest-read-api

Or

>git checkout develop
>git merge --no-ff rest-read-api - merges the branch to develop
>git branch -d rest-read-api - delete the local branch
>git push origin develop - push develop

Release branch
>git flow release start v1.0


References:
http://jeffkreeftmeijer.com/2010/why-arent-you-using-git-flow/
https://github.com/nvie/gitflow/wiki/Mac-OS-X
http://www.slideshare.net/shuky.dvir/git-workflow-with-gitflow

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics