SlideShare a Scribd company logo
1 of 18
Git Flow Shaokun Wu [email_address]
Why Git? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
问题呢? ,[object Object],[object Object],[object Object],[object Object],[object Object]
Git Flow - by nvie 一种值得参考的工作流程
 
主分支 master, develop
master, develop  分支 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
辅助分支 feature, release, hotfix
feature  分支 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
 
release  分支 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
hotfix  分支 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
gitflow
$ git flow init No branches exist yet. Base branches must be created now. 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? []
$ git flow feature start login $ git flow feature finish login
$ git flow release start v0.1.0 $ git flow release finish v0.1.0
git-flow-completion Bash, Zsh
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]

More Related Content

What's hot

What's hot (20)

Git and GitHub | Concept about Git and GitHub Process | Git Process overview
Git and GitHub | Concept about Git and GitHub Process | Git Process overviewGit and GitHub | Concept about Git and GitHub Process | Git Process overview
Git and GitHub | Concept about Git and GitHub Process | Git Process overview
 
Introduction git
Introduction gitIntroduction git
Introduction git
 
Git
GitGit
Git
 
Git Rebase vs Merge
Git Rebase vs MergeGit Rebase vs Merge
Git Rebase vs Merge
 
Git 101 - Crash Course in Version Control using Git
Git 101 - Crash Course in Version Control using GitGit 101 - Crash Course in Version Control using Git
Git 101 - Crash Course in Version Control using Git
 
Introduction to Git / Github
Introduction to Git / GithubIntroduction to Git / Github
Introduction to Git / Github
 
Git and Github
Git and GithubGit and Github
Git and Github
 
Git github
Git githubGit github
Git github
 
Introduction to Git and Github
Introduction to Git and GithubIntroduction to Git and Github
Introduction to Git and Github
 
Starting with Git & GitHub
Starting with Git & GitHubStarting with Git & GitHub
Starting with Git & GitHub
 
Introduction to git hub
Introduction to git hubIntroduction to git hub
Introduction to git hub
 
Introduction to Git/Github - A beginner's guide
Introduction to Git/Github - A beginner's guideIntroduction to Git/Github - A beginner's guide
Introduction to Git/Github - A beginner's guide
 
Git workflows presentation
Git workflows presentationGit workflows presentation
Git workflows presentation
 
Git in 10 minutes
Git in 10 minutesGit in 10 minutes
Git in 10 minutes
 
Git for beginners
Git for beginnersGit for beginners
Git for beginners
 
Git workflows
Git workflowsGit workflows
Git workflows
 
Basic Git Intro
Basic Git IntroBasic Git Intro
Basic Git Intro
 
GitHub Actions in action
GitHub Actions in actionGitHub Actions in action
GitHub Actions in action
 
Git and git flow
Git and git flowGit and git flow
Git and git flow
 
Git101
Git101Git101
Git101
 

Viewers also liked (9)

WebSocket 实时推特流
WebSocket 实时推特流WebSocket 实时推特流
WebSocket 实时推特流
 
VIM for the PHP Developer
VIM for the PHP DeveloperVIM for the PHP Developer
VIM for the PHP Developer
 
iOS 图片浏览器 DIY
iOS 图片浏览器 DIYiOS 图片浏览器 DIY
iOS 图片浏览器 DIY
 
Rest Ruby On Rails
Rest Ruby On RailsRest Ruby On Rails
Rest Ruby On Rails
 
Rack
RackRack
Rack
 
Rails web api 开发
Rails web api 开发Rails web api 开发
Rails web api 开发
 
More to RoC weibo
More to RoC weiboMore to RoC weibo
More to RoC weibo
 
Rails Engine | Modular application
Rails Engine | Modular applicationRails Engine | Modular application
Rails Engine | Modular application
 
Namespace less engine
Namespace less engineNamespace less engine
Namespace less engine
 

Similar to Git flow

Git 版本控制系統 -- 從微觀到宏觀
Git 版本控制系統 -- 從微觀到宏觀Git 版本控制系統 -- 從微觀到宏觀
Git 版本控制系統 -- 從微觀到宏觀
Wen-Tien Chang
 

Similar to Git flow (20)

Git in a nutshell
Git in a nutshellGit in a nutshell
Git in a nutshell
 
Git & git flow
Git & git flowGit & git flow
Git & git flow
 
Git 入门实战
Git 入门实战Git 入门实战
Git 入门实战
 
Git 版本控制系統 -- 從微觀到宏觀
Git 版本控制系統 -- 從微觀到宏觀Git 版本控制系統 -- 從微觀到宏觀
Git 版本控制系統 -- 從微觀到宏觀
 
Use Git-flow Manage Your Git Workflow
Use Git-flow Manage Your Git WorkflowUse Git-flow Manage Your Git Workflow
Use Git-flow Manage Your Git Workflow
 
Git Essence Tutorial
Git Essence TutorialGit Essence Tutorial
Git Essence Tutorial
 
Git 程式碼版本控制軟體介紹
Git 程式碼版本控制軟體介紹Git 程式碼版本控制軟體介紹
Git 程式碼版本控制軟體介紹
 
GIT實務操作與理論
GIT實務操作與理論GIT實務操作與理論
GIT實務操作與理論
 
Git
GitGit
Git
 
Introduction to git
Introduction to gitIntroduction to git
Introduction to git
 
Git+使用教程
Git+使用教程Git+使用教程
Git+使用教程
 
Git and git hub
Git and git hubGit and git hub
Git and git hub
 
Version control0221
Version control0221Version control0221
Version control0221
 
Git 經驗分享
Git 經驗分享Git 經驗分享
Git 經驗分享
 
Git flow 與團隊合作
Git flow 與團隊合作Git flow 與團隊合作
Git flow 與團隊合作
 
Git share
Git shareGit share
Git share
 
Intro to Git 投影片
Intro to Git 投影片Intro to Git 投影片
Intro to Git 投影片
 
Git簡報
Git簡報Git簡報
Git簡報
 
Github简介及实用入门
Github简介及实用入门Github简介及实用入门
Github简介及实用入门
 
工程師必備第一工具 - Git
工程師必備第一工具 - Git工程師必備第一工具 - Git
工程師必備第一工具 - Git
 

Git flow