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
Git
Search
Shume
January 11, 2013
Programming
2
550
Git
Shume
January 11, 2013
Tweet
Share
More Decks by Shume
See All by Shume
Justpaste
ciffel
0
290
Other Decks in Programming
See All in Programming
testingを眺める
matumoto
1
130
MCPとデザインシステムに立脚したデザインと実装の融合
yukukotani
4
1.2k
2025 年のコーディングエージェントの現在地とエンジニアの仕事の変化について
azukiazusa1
17
8.5k
HTMLの品質ってなんだっけ? “HTMLクライテリア”の設計と実践
unachang113
3
2.1k
もうちょっといいRubyプロファイラを作りたい (2025)
osyoyu
0
240
Protocol Buffersの型を超えて拡張性を得る / Beyond Protocol Buffers Types Achieving Extensibility
linyows
0
110
オープンセミナー2025@広島「君はどこで動かすか?」アンケート結果
satoshi256kbyte
0
240
サーバーサイドのビルド時間87倍高速化
plaidtech
PRO
0
700
Honoアップデート 2025年夏
yusukebe
1
910
Rancher と Terraform
fufuhu
2
200
Vue・React マルチプロダクト開発を支える Vite
andpad
0
110
複雑なドメインに挑む.pdf
yukisakai1225
5
970
Featured
See All Featured
Optimising Largest Contentful Paint
csswizardry
37
3.4k
Facilitating Awesome Meetings
lara
55
6.5k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
31
2.2k
How STYLIGHT went responsive
nonsquared
100
5.8k
A designer walks into a library…
pauljervisheath
207
24k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
126
53k
The Art of Programming - Codeland 2020
erikaheidi
55
13k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.1k
Git: the NoSQL Database
bkeepers
PRO
431
66k
[RailsConf 2023] Rails as a piece of cake
palkan
57
5.8k
Transcript
None
Git is free and open source distributed version control system
designed to handle everything from small to very large projects with speed and efficiency What is Git? 2
Outline • History • Design • Operations • Branch •
Demo 3
History • Linus Torvalds dislike of centralized SCM systems •
In 2002, switch to BitKeeper (not free software) • In 2005, stop supporting the Linux development community • A new source code control system called git 4
Design Goals • Fast • Simple Design • Support non-linear
development • Fully distributed • Efficient handling of large projects (Linux kernel 3.6 15.9 SLOC (Million) 5
Snapshot, not Differences Difference Snapshot 6
Nearly Every Operation is Local 7
File Status 8
Branch • Real world workflow 1. Do work on a
web site. 2. Create a branch for a new story you’re working on. 3. Do some work in that branch. 9
Branch • Real world workflow 1. Do work on a
web site. 2. Create a branch for a new story you’re working on. 3. Do some work in that branch. 10
Branch • Real world workflow 1. Do work on a
web site. 2. Create a branch for a new story you’re working on. 3. Do some work in that branch. 11
Branch 4. There is an issue with the web site,
and you need to fix it immediately 12
Branch 5. Finish! merge hotfix into master 13
Branch 5. Delete hotfix branch 6. Switch back to your
original story and continue working 14
Branch 7. Merge iss53 into master 15
Demo • Client: • Remote: Github 16
Robot Development initial commit merge add-walk add walk rename walk
to run add-walk master origin (remote) push to github 17 merge hot-fix fix typo hot-fix
References • Pro Git - http://git-scm.com/book • 寫給⼤大家的Git教學 - http://
www.slideshare.net/littlebtc/git-5528339 • Linux Kernel - http://en.wikipedia.org/wiki/ Linux_kernel 18