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
540
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
Kanzawa.rbのLT大会を支える技術の裏側を変更する Ruby on Rails + Litestream 編
muryoimpl
0
220
自分ひとりから始められる生産性向上の取り組み #でぃーぷらすオオサカ
irof
8
2.6k
Bedrock Agentsレスポンス解析によるAgentのOps
licux
2
720
How mixi2 Uses TiDB for SNS Scalability and Performance
kanmo
30
11k
Open source software: how to live long and go far
gaelvaroquaux
0
620
Kubernetes History Inspector(KHI)を触ってみた
bells17
0
200
CNCF Project の作者が考えている OSS の運営
utam0k
5
690
DevinとCursorから学ぶAIエージェントメモリーの設計とMoatの考え方
itarutomy
1
640
SwiftUI Viewの責務分離
elmetal
PRO
0
150
2024年のkintone API振り返りと2025年 / kintone API look back in 2024
tasshi
0
210
JavaScriptツール群「UnJS」を5分で一気に駆け巡る!
k1tikurisu
10
1.8k
パスキーのすべて ── 導入・UX設計・実装の紹介 / 20250213 パスキー開発者の集い
kuralab
3
670
Featured
See All Featured
Agile that works and the tools we love
rasmusluckow
328
21k
Fontdeck: Realign not Redesign
paulrobertlloyd
82
5.4k
Rails Girls Zürich Keynote
gr2m
94
13k
Faster Mobile Websites
deanohume
306
31k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
99
18k
Embracing the Ebb and Flow
colly
84
4.6k
Making Projects Easy
brettharned
116
6k
Optimizing for Happiness
mojombo
376
70k
Adopting Sorbet at Scale
ufuk
74
9.2k
Music & Morning Musume
bryan
46
6.3k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
Why Our Code Smells
bkeepers
PRO
335
57k
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