SlideShare a Scribd company logo
1
•
•
•
•
•
•
•
•
•
•
•
2
•
•
•
•
•
•
•
•
3
ü
ü
ü
4
5
• 藍圖
軟體工程
• 軟體設計師 源碼 檔案 設定檔
程式
•
•
•
資料來源:
• wiki – 版本控制
6
7
參考資料:
• Git Flow Workflow- https://leanpub.com/git-flow/read
8
9
參考資料:
• Best Version Control Systems - https://www.g2crowd.com/categories/version-control-systems
• Version Control Systems Popularity in 2016 - https://rhodecode.com/insights/version-control-systems-2016
10
參考資料:
• Trunk-based Development vs. Git Flow - https://www.toptal.com/software/trunk-based-development-git-flow
•
•
•
•
•
•
11
⽬目前無法顯⽰示此影像。
圖片來源:
• Pro Git, 2nd
•
•
•
•
•
•
12
圖片來源:
• Pro Git, 2nd
13
•
•
•
•
•
• https://git-scm.com/download/mac
•
•
• https://git-scm.com/download/win
14
•
15
•
•
•
•
•
•
•
•
•
•
•
•
•
16
有設定的話往上覆蓋
有設定的話往上覆蓋
•
•
•
•
•
•
•
•
•
•
17
•
•
•
•
•
•
•
•
18
(練習一)
•
•
•
•
•
•
•
•
(練習二)
•
•
•
•
•
•
•
•
19
20
•
•
•
•
•
•
•
•
•
•
•
21
圖片來源:
• Git - https://git-scm.com/book/zh/v1/Git-%E5%9F%BA%E7%A1%80-
%E8%AE%B0%E5%BD%95%E6%AF%8F%E6%AC%A1%E6%9B%B4%E6%96%B0%E5%88%B0%E4%BB%93%E5%BA%93
•
•
•
•
•
•
•
•
•
•
•
22
•
•
•
•
•
•
•
•
•
•
•
23
•
•
•
•
•
•
•
•
•
24
進階參考:
• Git - https://git-scm.com/book/zh-tw/v2/Git-%E5%9F%BA%E7%A4%8E-
%E6%AA%A2%E8%A6%96%E6%8F%90%E4%BA%A4%E7%9A%84%E6%AD%B7%E5%8F%B2%E8%A8%98%E9%8C%84
25
•
26
參考資料:
• https://en.wikipedia.org/wiki/GitLab#/media/File:Gitlab_screenshot_december_2015.png
• https://about.gitlab.com/products/
•
27
參考資料:
• https://bitbucket.org/product/pricing?tab=host-in-the-cloud
•
28
參考資料:
• https://github.com/pricing
•
•
•
29
•
•
•
•
•
•
•
•
•
•
•
•
•
•
30
•
• Git
• Git GUI
• SourceTree
• SmartGit
• TortoiseGit
• GitHub Desktop
31
圖片來源:
• Git - https://git-scm.com/downloads/guis
32
33
參考資料:
• Trunk-based Development vs. Git Flow - https://www.toptal.com/software/trunk-based-development-git-flow
• Git Flow - https://leanpub.com/git-flow/read
建議此方法,提早整合並試著延伸學習 CI/CD
•
•
•
34
• Pro Git 第一版線上
• Pro Git 第二版線上
• 透過rebase -i, reset, revert還原某個commit的方法
•
•
•
35
Any questions ?
You can find me at
• fb: taien.tw
• taien.wang@gmail.com
Thanks!
37
38
39
40
41
•
•
• iterm Oh My Zsh
•
•
42
圖片來源:
• GitHub - https://github.com/robbyrussell/oh-my-zsh
•
•
•
•
•
•
43
•
•
44
45
資料來源:
• https://backlog.com/git-tutorial/tw/reference/git-svn.html

More Related Content

Similar to 淡江Git與GitHub操作介紹

開放原始碼 Ch1.3 intro - oss - google codes (ver 2.0)
開放原始碼 Ch1.3   intro - oss - google codes (ver 2.0)開放原始碼 Ch1.3   intro - oss - google codes (ver 2.0)
開放原始碼 Ch1.3 intro - oss - google codes (ver 2.0)
My own sweet home!
 
美团前端架构简介
美团前端架构简介美团前端架构简介
美团前端架构简介
pan weizeng
 
開放原始碼 Ch2.2 app - oss - google client api & app engine(ver 1.0)
開放原始碼 Ch2.2   app - oss -  google client api & app engine(ver 1.0)開放原始碼 Ch2.2   app - oss -  google client api & app engine(ver 1.0)
開放原始碼 Ch2.2 app - oss - google client api & app engine(ver 1.0)
My own sweet home!
 
Code review on github training ( beginner )
Code review on github training ( beginner )Code review on github training ( beginner )
Code review on github training ( beginner )
JS Lee
 
GitLab—the new workbench
GitLab—the new workbenchGitLab—the new workbench
GitLab—the new workbench
tblanlan
 
20121213 foundation of software development 2 2-ktchuang
20121213 foundation of software development 2 2-ktchuang20121213 foundation of software development 2 2-ktchuang
20121213 foundation of software development 2 2-ktchuang
netdbncku
 

Similar to 淡江Git與GitHub操作介紹 (20)

Android 程式設計(4)
Android 程式設計(4)Android 程式設計(4)
Android 程式設計(4)
 
App开发过程的演变之路
App开发过程的演变之路App开发过程的演变之路
App开发过程的演变之路
 
Github簡介
Github簡介Github簡介
Github簡介
 
開放原始碼 Ch1.3 intro - oss - google codes (ver 2.0)
開放原始碼 Ch1.3   intro - oss - google codes (ver 2.0)開放原始碼 Ch1.3   intro - oss - google codes (ver 2.0)
開放原始碼 Ch1.3 intro - oss - google codes (ver 2.0)
 
Git flow 與團隊合作
Git flow 與團隊合作Git flow 與團隊合作
Git flow 與團隊合作
 
Git & git flow
Git & git flowGit & git flow
Git & git flow
 
開發工具與環境建置
開發工具與環境建置開發工具與環境建置
開發工具與環境建置
 
HPX台南讀書會-Axure RP基礎課程
HPX台南讀書會-Axure RP基礎課程HPX台南讀書會-Axure RP基礎課程
HPX台南讀書會-Axure RP基礎課程
 
美团前端架构简介
美团前端架构简介美团前端架构简介
美团前端架构简介
 
01 DevOps and Azure DevOps overview
01 DevOps and Azure DevOps overview01 DevOps and Azure DevOps overview
01 DevOps and Azure DevOps overview
 
開放原始碼 Ch2.2 app - oss - google client api & app engine(ver 1.0)
開放原始碼 Ch2.2   app - oss -  google client api & app engine(ver 1.0)開放原始碼 Ch2.2   app - oss -  google client api & app engine(ver 1.0)
開放原始碼 Ch2.2 app - oss - google client api & app engine(ver 1.0)
 
Learn git
Learn gitLearn git
Learn git
 
Code review on github training ( beginner )
Code review on github training ( beginner )Code review on github training ( beginner )
Code review on github training ( beginner )
 
Gitlab - the new workbench (2nd edition)
Gitlab - the new workbench (2nd edition)Gitlab - the new workbench (2nd edition)
Gitlab - the new workbench (2nd edition)
 
GitLab—the new workbench
GitLab—the new workbenchGitLab—the new workbench
GitLab—the new workbench
 
Git 使用介绍
Git 使用介绍Git 使用介绍
Git 使用介绍
 
Intro to Git 投影片
Intro to Git 投影片Intro to Git 投影片
Intro to Git 投影片
 
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...
 
20161110中興大學通識演講
20161110中興大學通識演講20161110中興大學通識演講
20161110中興大學通識演講
 
20121213 foundation of software development 2 2-ktchuang
20121213 foundation of software development 2 2-ktchuang20121213 foundation of software development 2 2-ktchuang
20121213 foundation of software development 2 2-ktchuang
 

More from Taien Wang

伺服器端攻擊與防禦III
伺服器端攻擊與防禦III伺服器端攻擊與防禦III
伺服器端攻擊與防禦III
Taien Wang
 

More from Taien Wang (20)

[MOPCON2019]從零建立商業技術團隊
[MOPCON2019]從零建立商業技術團隊[MOPCON2019]從零建立商業技術團隊
[MOPCON2019]從零建立商業技術團隊
 
[ModernWeb2019] Taien - 高併發的道與術
[ModernWeb2019] Taien - 高併發的道與術[ModernWeb2019] Taien - 高併發的道與術
[ModernWeb2019] Taien - 高併發的道與術
 
[ModernWeb2018] Web3.0 區塊鏈 DApp + 智能合約開發:你必要挑戰的坑坑洞洞
[ModernWeb2018] Web3.0 區塊鏈 DApp + 智能合約開發:你必要挑戰的坑坑洞洞[ModernWeb2018] Web3.0 區塊鏈 DApp + 智能合約開發:你必要挑戰的坑坑洞洞
[ModernWeb2018] Web3.0 區塊鏈 DApp + 智能合約開發:你必要挑戰的坑坑洞洞
 
百人團隊敏捷轉型暨持續性整合與交付實踐
百人團隊敏捷轉型暨持續性整合與交付實踐百人團隊敏捷轉型暨持續性整合與交付實踐
百人團隊敏捷轉型暨持續性整合與交付實踐
 
成長駭客 Growth Hacker
成長駭客 Growth Hacker成長駭客 Growth Hacker
成長駭客 Growth Hacker
 
20160105 wnmp & phalcon micro app - part II
20160105   wnmp & phalcon micro app - part II20160105   wnmp & phalcon micro app - part II
20160105 wnmp & phalcon micro app - part II
 
20151229 wnmp & phalcon micro app - part I
20151229 wnmp & phalcon micro app - part I20151229 wnmp & phalcon micro app - part I
20151229 wnmp & phalcon micro app - part I
 
我編程.我快樂
我編程.我快樂我編程.我快樂
我編程.我快樂
 
Scrum深入淺出
Scrum深入淺出Scrum深入淺出
Scrum深入淺出
 
淡江大學 - 產品測試+安全性測試+壓力測試
淡江大學 - 產品測試+安全性測試+壓力測試淡江大學 - 產品測試+安全性測試+壓力測試
淡江大學 - 產品測試+安全性測試+壓力測試
 
淡江大學 - ios+android+html5(javascript)
淡江大學 - ios+android+html5(javascript)淡江大學 - ios+android+html5(javascript)
淡江大學 - ios+android+html5(javascript)
 
淡江大學 - 網站開發應用技術及雲端應用技術
淡江大學 - 網站開發應用技術及雲端應用技術淡江大學 - 網站開發應用技術及雲端應用技術
淡江大學 - 網站開發應用技術及雲端應用技術
 
Android Taipei 2013 August - Android Apps Security
Android Taipei 2013 August - Android Apps SecurityAndroid Taipei 2013 August - Android Apps Security
Android Taipei 2013 August - Android Apps Security
 
伺服器端攻擊與防禦III
伺服器端攻擊與防禦III伺服器端攻擊與防禦III
伺服器端攻擊與防禦III
 
伺服器端攻擊與防禦II
伺服器端攻擊與防禦II伺服器端攻擊與防禦II
伺服器端攻擊與防禦II
 
伺服器端攻擊與防禦I
伺服器端攻擊與防禦I伺服器端攻擊與防禦I
伺服器端攻擊與防禦I
 
用戶端攻擊與防禦
用戶端攻擊與防禦用戶端攻擊與防禦
用戶端攻擊與防禦
 
使安全成為軟體開發必要部分
使安全成為軟體開發必要部分使安全成為軟體開發必要部分
使安全成為軟體開發必要部分
 
基礎網頁程式攻擊檢驗
基礎網頁程式攻擊檢驗基礎網頁程式攻擊檢驗
基礎網頁程式攻擊檢驗
 
PHP更有效率的除錯 - XDebug
PHP更有效率的除錯 - XDebugPHP更有效率的除錯 - XDebug
PHP更有效率的除錯 - XDebug
 

淡江Git與GitHub操作介紹