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
72
交大資工-新資訊時代的女力關鍵
marsw
0
310
I2TRC2_2015
marsw
0
220
NOL技術學習-PythonII
marsw
0
110
NOL技術學習-PythonI
marsw
0
90
I2TRC2_2014
marsw
0
75
I2TRC2_2013
marsw
0
68
I2TRC2_2012
marsw
0
55
I2TRC2_2011
marsw
0
120
Other Decks in Technology
See All in Technology
Introduction to Bill One Development Engineer
sansan33
PRO
0
380
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
15
95k
Devinを導入したら予想外の人たちに好評だった
tomuro
0
900
どこで打鍵するのが良い? IaCの実行基盤選定について
nrinetcom
PRO
2
170
AIエンジニア Devin と歩む、自律型運用プロセスの構築
a2ito
0
700
Exadata Fleet Update
oracle4engineer
PRO
0
1.3k
Secure Boot 2026 - Aggiornamento dei certificati UEFI e piano di adozione in azienda
memiug
0
140
Introduction to Sansan for Engineers / エンジニア向け会社紹介
sansan33
PRO
6
72k
EMからICへ、二周目人材としてAI全振りのプロダクト開発で見つけた武器
yug1224
4
430
研究開発部メンバーの働き⽅ / Sansan R&D Profile
sansan33
PRO
4
22k
Kaggleで鍛えたスキルの実務での活かし方 競技とプロダクト開発のリアル
recruitengineers
PRO
1
160
【SLO】"多様な期待値" と向き合ってみた
z63d
2
310
Featured
See All Featured
The Spectacular Lies of Maps
axbom
PRO
1
580
Designing Powerful Visuals for Engaging Learning
tmiket
0
260
Testing 201, or: Great Expectations
jmmastey
46
8.1k
Designing Experiences People Love
moore
143
24k
BBQ
matthewcrist
89
10k
Embracing the Ebb and Flow
colly
88
5k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
330
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.3k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
430
4 Signs Your Business is Dying
shpigford
187
22k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
190
Designing for humans not robots
tammielis
254
26k
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