Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Version Control - Git
Search
MarsW
August 05, 2014
Technology
0
110
Version Control - Git
MarsW
August 05, 2014
Tweet
Share
More Decks by MarsW
See All by MarsW
Data Engineering Workshop
marsw
0
71
交大資工-新資訊時代的女力關鍵
marsw
0
310
I2TRC2_2015
marsw
0
220
NOL技術學習-PythonII
marsw
0
110
NOL技術學習-PythonI
marsw
0
89
I2TRC2_2014
marsw
0
74
I2TRC2_2013
marsw
0
68
I2TRC2_2012
marsw
0
55
I2TRC2_2011
marsw
0
120
Other Decks in Technology
See All in Technology
【Oracle Cloud ウェビナー】[Oracle AI Database + AWS] Oracle Database@AWSで広がるクラウドの新たな選択肢とAI時代のデータ戦略
oracle4engineer
PRO
1
100
AI駆動PjMの理想像 と現在地 -実践例を添えて-
masahiro_okamura
1
110
Introduction to Bill One Development Engineer
sansan33
PRO
0
360
顧客の言葉を、そのまま信じない勇気
yamatai1212
1
350
入社1ヶ月でデータパイプライン講座を作った話
waiwai2111
1
270
【5分でわかる】セーフィー エンジニア向け会社紹介
safie_recruit
0
42k
データの整合性を保ちたいだけなんだ
shoheimitani
8
3.1k
20260204_Midosuji_Tech
takuyay0ne
1
140
クレジットカード決済基盤を支えるSRE - 厳格な監査とSRE運用の両立 (SRE Kaigi 2026)
capytan
6
2.7k
セキュリティについて学ぶ会 / 2026 01 25 Takamatsu WordPress Meetup
rocketmartue
1
290
30万人の同時アクセスに耐えたい!新サービスの盤石なリリースを支える負荷試験 / SRE Kaigi 2026
genda
3
1.1k
Azure Durable Functions で作った NL2SQL Agent の精度向上に取り組んだ話/jat08
thara0402
0
160
Featured
See All Featured
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
170
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
0
250
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
180
The Curse of the Amulet
leimatthew05
1
8.4k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
170
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.3k
Done Done
chrislema
186
16k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
62
The Pragmatic Product Professional
lauravandoore
37
7.1k
Google's AI Overviews - The New Search
badams
0
900
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.2k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.1k
Transcript
Git MarsW
C o m pu ter C en ter , C
S, N C T U 2 甚麼是版本控制? 能吃嗎? ! ! 在講版本控制以前, 對以下情況應該會有種似曾相識的感覺
C o m pu ter C en ter , C
S, N C T U 3 貫徹始終 ❑ xx_hwk4.c //20131026
C o m pu ter C en ter , C
S, N C T U 4 貫徹始終 ❑ xx_hwk4.c //20131026 ❑ xx_hwk4.c //20131027
C o m pu ter C en ter , C
S, N C T U 5 貫徹始終 ❑ xx_hwk4.c //20131026 ❑ xx_hwk4.c //20131027 . . . ❑ xx_hwk4.c //20131127
C o m pu ter C en ter , C
S, N C T U 6 貫徹始終 ❑ xx_hwk4.c //20131026 ❑ xx_hwk4.c //20131027 . . . ❑ xx_hwk4.c //20131127 啊…改壞了,上個還可以work的版本…
C o m pu ter C en ter , C
S, N C T U 7 貫徹始終 ❑ xx_hwk4.c //20131026 ❑ xx_hwk4.c //20131027 . . . ❑ xx_hwk4.c //20131127 啊…改壞了,上個還可以work的版本…
C o m pu ter C en ter , C
S, N C T U 8 你是這樣命名的嗎? ❑ xx_hwk4.c(1)
C o m pu ter C en ter , C
S, N C T U 9 你是這樣命名的嗎? ❑ xx_hwk4.c(1) ❑ xx_hwk4.c(2)
C o m pu ter C en ter , C
S, N C T U 10 你是這樣命名的嗎? ❑ xx_hwk4.c(1) ❑ xx_hwk4.c(2) . . . ❑ xx_hwk4.c(最終版)
C o m pu ter C en ter , C
S, N C T U 11 你是這樣命名的嗎? ❑ xx_hwk4.c(1) ❑ xx_hwk4.c(2) . . . ❑ xx_hwk4.c(最終版) ❑ xx_hwk4.c(這才是最終版)
C o m pu ter C en ter , C
S, N C T U 12 你是這樣命名的嗎? ❑ xx_hwk4.c(1) ❑ xx_hwk4.c(2) . . . ❑ xx_hwk4.c(最終版) ❑ xx_hwk4.c(這才是最終版) ❑ xx_hwk4.c(最終的最終版)
C o m pu ter C en ter , C
S, N C T U 13 你是這樣命名的嗎? ❑ xx_hwk4.c(1) ❑ xx_hwk4.c(2) . . . ❑ xx_hwk4.c(最終版) ❑ xx_hwk4.c(這才是最終版) ❑ xx_hwk4.c(最終的最終版) ❑ xx_hwk4.c(最最最最終版)
C o m pu ter C en ter , C
S, N C T U 14 你是這樣命名的嗎? ❑ xx_hwk4.c(1) ❑ xx_hwk4.c(2) . . . ❑ xx_hwk4.c(最終版) ❑ xx_hwk4.c(這才是最終版) ❑ xx_hwk4.c(最終的最終版) ❑ xx_hwk4.c(最最最最終版) ❑ xx_hwk4.c(不要懷疑 交這個就對了)
C o m pu ter C en ter , C
S, N C T U 15 你是這樣命名的嗎? ❑ xx_hwk4.c(1) ❑ xx_hwk4.c(2) . . . ❑ xx_hwk4.c(最終版) ❑ xx_hwk4.c(這才是最終版) ❑ xx_hwk4.c(最終的最終版) ❑ xx_hwk4.c(最最最最終版) ❑ xx_hwk4.c(不要懷疑 交這個就對了)
C o m pu ter C en ter , C
S, N C T U 16 還是這樣? ❑ xx_hwk4_20131126_v1.c ❑ xx_hwk4_20131127_v2.c . . . v1 …… ! v2 …… README
C o m pu ter C en ter , C
S, N C T U 17 如果有很多⼈人⼀一起合作… ❑ AAA_xx_hwk4_20131126_v1.c ❑ BBB_xx_hwk4_20131127_v2.c . . .
C o m pu ter C en ter , C
S, N C T U 18 我在改 XXYY 功能,不要動!!!
C o m pu ter C en ter , C
S, N C T U 19 我在改 XXYY 功能,不要動!!!
C o m pu ter C en ter , C
S, N C T U 20 我在改 XXYY 功能,不要動!!!
C o m pu ter C en ter , C
S, N C T U 21 跟別⼈人合併就是悲劇的開始 ❑ 我在我的電腦可以跑的阿! ❑ 昨天還好好的! ❑ 你⼀一定弄錯版本了! ❑ 這BUG我修了阿! ❑ 你到底做了甚麼才讓程式出錯?
C o m pu ter C en ter , C
S, N C T U 22 版本控制 就像遊戲存檔⼀一樣,打不贏boss、忘了拿寶,! 可以回到前⾯面的存檔重練。! ❑ 良好的開發歷程記錄! ❑ 統⼀一管制、衝突管理! ❑ ⾃自動化應⽤用
C o m pu ter C en ter , C
S, N C T U 23 版本控制 ❑ Local Version Control
C o m pu ter C en ter , C
S, N C T U 24 版本控制 ❑ Centralized Version Control • SVN
C o m pu ter C en ter , C
S, N C T U 25 版本控制 ❑ Centralized Version Control • SVN
C o m pu ter C en ter , C
S, N C T U 26 版本控制 ❑ Distributed Version Control • Git
C o m pu ter C en ter , C
S, N C T U 27 Git ❑ Setup • git clone 1. Update • git pull 2. Coding • git status • git add • git commit 3. Push • git push ! ❑ http://try.github.io/levels/1/challenges/1 Local Remote git status
C o m pu ter C en ter , C
S, N C T U 28 Other Services ❑ Github ❑ Bitbucket
C o m pu ter C en ter , C
S, N C T U 29 References ❑ http://tech.marsw.tw/blog/2013/08/16/git-notes-github ! ❑ learnGitBranching http://pcottle.github.io/learnGitBranching