SlideShare a Scribd company logo
Git Flow
資工二A - 李樸
102-1 計中網路系統組工讀分享2015/10/13
Git 簡介
• “程式專案”版本管理的工具
• Branch
• Github 團隊開發利器
Git 簡介-版本管理
• 記錄不同時空下的code
• 回到過去
Git 簡介-Branch
• 同時開發不同功能
• 團隊開發
所以到底什麼是Git?
• 跨平台分布式版本控制/軟體配置管理軟體
• 下指令
• 可上傳到網路,由團隊、社群共同開發
雲端平台
• 自己架Git Server
• 使用線上源碼存取服務
• Bitbucket
• GitHub
Git設定、指令參考
• 基本設定請見 參考
• 指令見 參考1 參考2
Git Flow 簡介
• A successful Git branching model
• 兩個主要分支
• 三個支援性分支
分支介紹
• 主要分支
• Master
• Develop
• 支援性分支
• Feature branches
• Release branches
• Hotfix branches
整合工具 gitflow
• 安裝(on Debian-based Linux)
• $ apt-get install git-flow
• 初始設定
• $ git flow init
開發㳘程
• 確定要作的事(功能)後,先開功能Branch(feature/hotfix/release)
• $ git flow feature start some_awesome_feature
• 開發完成後自動合併
• $ git flow feature finish some_awesome_feature
• 㳘程圖
GitFlow使用心得
• 可以簡化指令
• 提供一套成熟的Branch模型
• 對於舊的GitRepository引入GitFlow工具,衝突?
參考資料
• http://hades.name/blog/tag/branches/
• http://danielkummer.github.io/git-flow-cheatsheet/

More Related Content

What's hot

Intro to Git 投影片
Intro to Git 投影片Intro to Git 投影片
Intro to Git 投影片
Tony Yeh
 
技術部週會分享_Yunshian_20131202
技術部週會分享_Yunshian_20131202技術部週會分享_Yunshian_20131202
技術部週會分享_Yunshian_20131202inspire digital
 
寫給大家的 Git 教學
寫給大家的 Git 教學寫給大家的 Git 教學
寫給大家的 Git 教學
littlebtc
 
Git tutorial
Git tutorialGit tutorial
Git tutorial
Chin-Yu Ku
 
Visual Studio 2015 與 Git 開發實戰
Visual Studio 2015 與 Git 開發實戰Visual Studio 2015 與 Git 開發實戰
Visual Studio 2015 與 Git 開發實戰
Will Huang
 
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
Liangjun Jiang
 
Git & git flow
Git & git flowGit & git flow
Git & git flow
Amo Wu
 
Learn git
Learn gitLearn git
Learn git
甘 李
 
Github簡介
Github簡介Github簡介
Github簡介
Radian Jheng
 
開發用不著打一架 - 分散式版本控制 Git
開發用不著打一架 - 分散式版本控制 Git開發用不著打一架 - 分散式版本控制 Git
開發用不著打一架 - 分散式版本控制 Git
Calvin Huang
 
Git
GitGit
淡江Git與GitHub操作介紹
淡江Git與GitHub操作介紹淡江Git與GitHub操作介紹
淡江Git與GitHub操作介紹
Taien Wang
 
Git入门与实践
Git入门与实践Git入门与实践
Git入门与实践
LC2009
 
Git 使用介绍
Git 使用介绍Git 使用介绍
Git 使用介绍
medcl
 
git, repo, Gerrit 基礎教學
git, repo, Gerrit 基礎教學git, repo, Gerrit 基礎教學
git, repo, Gerrit 基礎教學Doremi Lin
 
Github in xcode
Github in xcodeGithub in xcode
Github in xcode
郁凱 曾
 

What's hot (16)

Intro to Git 投影片
Intro to Git 投影片Intro to Git 投影片
Intro to Git 投影片
 
技術部週會分享_Yunshian_20131202
技術部週會分享_Yunshian_20131202技術部週會分享_Yunshian_20131202
技術部週會分享_Yunshian_20131202
 
寫給大家的 Git 教學
寫給大家的 Git 教學寫給大家的 Git 教學
寫給大家的 Git 教學
 
Git tutorial
Git tutorialGit tutorial
Git tutorial
 
Visual Studio 2015 與 Git 開發實戰
Visual Studio 2015 與 Git 開發實戰Visual Studio 2015 與 Git 開發實戰
Visual Studio 2015 與 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 & git flow
Git & git flowGit & git flow
Git & git flow
 
Learn git
Learn gitLearn git
Learn git
 
Github簡介
Github簡介Github簡介
Github簡介
 
開發用不著打一架 - 分散式版本控制 Git
開發用不著打一架 - 分散式版本控制 Git開發用不著打一架 - 分散式版本控制 Git
開發用不著打一架 - 分散式版本控制 Git
 
Git
GitGit
Git
 
淡江Git與GitHub操作介紹
淡江Git與GitHub操作介紹淡江Git與GitHub操作介紹
淡江Git與GitHub操作介紹
 
Git入门与实践
Git入门与实践Git入门与实践
Git入门与实践
 
Git 使用介绍
Git 使用介绍Git 使用介绍
Git 使用介绍
 
git, repo, Gerrit 基礎教學
git, repo, Gerrit 基礎教學git, repo, Gerrit 基礎教學
git, repo, Gerrit 基礎教學
 
Github in xcode
Github in xcodeGithub in xcode
Github in xcode
 

Viewers also liked

Android 逆向之旅(上)
Android 逆向之旅(上)Android 逆向之旅(上)
Android 逆向之旅(上)
Pu Lee
 
Fiddler 網頁除錯工具
Fiddler 網頁除錯工具Fiddler 網頁除錯工具
Fiddler 網頁除錯工具
Pu Lee
 
Android 逆向之旅(下)
Android 逆向之旅(下)Android 逆向之旅(下)
Android 逆向之旅(下)
Pu Lee
 
Apk 分析工具整理
Apk 分析工具整理Apk 分析工具整理
Apk 分析工具整理
Pu Lee
 
9447 writeup reverse_rolling
9447 writeup reverse_rolling9447 writeup reverse_rolling
9447 writeup reverse_rolling
Pu Lee
 
Pxe網路開機
Pxe網路開機Pxe網路開機
Pxe網路開機
Pu Lee
 

Viewers also liked (6)

Android 逆向之旅(上)
Android 逆向之旅(上)Android 逆向之旅(上)
Android 逆向之旅(上)
 
Fiddler 網頁除錯工具
Fiddler 網頁除錯工具Fiddler 網頁除錯工具
Fiddler 網頁除錯工具
 
Android 逆向之旅(下)
Android 逆向之旅(下)Android 逆向之旅(下)
Android 逆向之旅(下)
 
Apk 分析工具整理
Apk 分析工具整理Apk 分析工具整理
Apk 分析工具整理
 
9447 writeup reverse_rolling
9447 writeup reverse_rolling9447 writeup reverse_rolling
9447 writeup reverse_rolling
 
Pxe網路開機
Pxe網路開機Pxe網路開機
Pxe網路開機
 

Similar to Git Flow 管理

Git tutorial for windows user (給 Windows user 的 Git 教學)
Git tutorial for windows user (給 Windows user 的 Git 教學)Git tutorial for windows user (給 Windows user 的 Git 教學)
Git tutorial for windows user (給 Windows user 的 Git 教學)Cloud Tu
 
Git原理与实战 201607
Git原理与实战 201607Git原理与实战 201607
Git原理与实战 201607
Charles Tang
 
Git flow 與團隊合作
Git flow 與團隊合作Git flow 與團隊合作
Git flow 與團隊合作
Bo-Yi Wu
 
Git 版本控制系統 -- 從微觀到宏觀
Git 版本控制系統 -- 從微觀到宏觀Git 版本控制系統 -- 從微觀到宏觀
Git 版本控制系統 -- 從微觀到宏觀Wen-Tien Chang
 
Github简介及实用入门
Github简介及实用入门Github简介及实用入门
Github简介及实用入门
Rongxing Liu
 
簡介 Git hub 平台 ( 1.5 hrs )
簡介 Git hub 平台 ( 1.5 hrs )簡介 Git hub 平台 ( 1.5 hrs )
簡介 Git hub 平台 ( 1.5 hrs )
Will Huang
 
Git 版本控制 (使用教學)
Git 版本控制 (使用教學)Git 版本控制 (使用教學)
Git 版本控制 (使用教學)
Jui An Huang (黃瑞安)
 
COSCUP 2015 開源之道-Git工作坊教學簡報
COSCUP 2015 開源之道-Git工作坊教學簡報COSCUP 2015 開源之道-Git工作坊教學簡報
COSCUP 2015 開源之道-Git工作坊教學簡報
Bachue Zhou
 
Gitlab - the new workbench (2nd edition)
Gitlab - the new workbench (2nd edition)Gitlab - the new workbench (2nd edition)
Gitlab - the new workbench (2nd edition)
Pu Shiming
 
Git 入门实战
Git 入门实战Git 入门实战
Git 入门实战
icy leaf
 
Git
GitGit
Git
EthanTu
 
Git 超簡單學習懶人包(軟體程式版本控管系統)
Git 超簡單學習懶人包(軟體程式版本控管系統)Git 超簡單學習懶人包(軟體程式版本控管系統)
Git 超簡單學習懶人包(軟體程式版本控管系統)
flylon
 
Learning to Use Git | WeiYuan
Learning to Use Git | WeiYuanLearning to Use Git | WeiYuan
Learning to Use Git | WeiYuan
Wei-Yuan Chang
 
Git introduction
Git introductionGit introduction
Git introduction
mythnc
 
Git 經驗分享
Git 經驗分享Git 經驗分享
Git 經驗分享
Mu Chun Wang
 
First meetingwithgit
First meetingwithgitFirst meetingwithgit
First meetingwithgitRhythm Sun
 
Continuous Delivery: automated testing, continuous integration and continuous...
Continuous Delivery: automated testing, continuous integration and continuous...Continuous Delivery: automated testing, continuous integration and continuous...
Continuous Delivery: automated testing, continuous integration and continuous...
Jimmy Lai
 
工程師必備第一工具 - Git
工程師必備第一工具 - Git工程師必備第一工具 - Git
工程師必備第一工具 - Git
Alan Tsai
 
Git in a nutshell
Git in a nutshellGit in a nutshell
Git in a nutshell
Nelson Tai
 
Git and Github basic with SourceTree
Git and Github basic with SourceTreeGit and Github basic with SourceTree
Git and Github basic with SourceTree
Chu-Siang Lai
 

Similar to Git Flow 管理 (20)

Git tutorial for windows user (給 Windows user 的 Git 教學)
Git tutorial for windows user (給 Windows user 的 Git 教學)Git tutorial for windows user (給 Windows user 的 Git 教學)
Git tutorial for windows user (給 Windows user 的 Git 教學)
 
Git原理与实战 201607
Git原理与实战 201607Git原理与实战 201607
Git原理与实战 201607
 
Git flow 與團隊合作
Git flow 與團隊合作Git flow 與團隊合作
Git flow 與團隊合作
 
Git 版本控制系統 -- 從微觀到宏觀
Git 版本控制系統 -- 從微觀到宏觀Git 版本控制系統 -- 從微觀到宏觀
Git 版本控制系統 -- 從微觀到宏觀
 
Github简介及实用入门
Github简介及实用入门Github简介及实用入门
Github简介及实用入门
 
簡介 Git hub 平台 ( 1.5 hrs )
簡介 Git hub 平台 ( 1.5 hrs )簡介 Git hub 平台 ( 1.5 hrs )
簡介 Git hub 平台 ( 1.5 hrs )
 
Git 版本控制 (使用教學)
Git 版本控制 (使用教學)Git 版本控制 (使用教學)
Git 版本控制 (使用教學)
 
COSCUP 2015 開源之道-Git工作坊教學簡報
COSCUP 2015 開源之道-Git工作坊教學簡報COSCUP 2015 開源之道-Git工作坊教學簡報
COSCUP 2015 開源之道-Git工作坊教學簡報
 
Gitlab - the new workbench (2nd edition)
Gitlab - the new workbench (2nd edition)Gitlab - the new workbench (2nd edition)
Gitlab - the new workbench (2nd edition)
 
Git 入门实战
Git 入门实战Git 入门实战
Git 入门实战
 
Git
GitGit
Git
 
Git 超簡單學習懶人包(軟體程式版本控管系統)
Git 超簡單學習懶人包(軟體程式版本控管系統)Git 超簡單學習懶人包(軟體程式版本控管系統)
Git 超簡單學習懶人包(軟體程式版本控管系統)
 
Learning to Use Git | WeiYuan
Learning to Use Git | WeiYuanLearning to Use Git | WeiYuan
Learning to Use Git | WeiYuan
 
Git introduction
Git introductionGit introduction
Git introduction
 
Git 經驗分享
Git 經驗分享Git 經驗分享
Git 經驗分享
 
First meetingwithgit
First meetingwithgitFirst meetingwithgit
First meetingwithgit
 
Continuous Delivery: automated testing, continuous integration and continuous...
Continuous Delivery: automated testing, continuous integration and continuous...Continuous Delivery: automated testing, continuous integration and continuous...
Continuous Delivery: automated testing, continuous integration and continuous...
 
工程師必備第一工具 - Git
工程師必備第一工具 - Git工程師必備第一工具 - Git
工程師必備第一工具 - Git
 
Git in a nutshell
Git in a nutshellGit in a nutshell
Git in a nutshell
 
Git and Github basic with SourceTree
Git and Github basic with SourceTreeGit and Github basic with SourceTree
Git and Github basic with SourceTree
 

Git Flow 管理