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
560
2
Share
Git
Shume
January 11, 2013
More Decks by Shume
See All by Shume
Justpaste
ciffel
0
300
Other Decks in Programming
See All in Programming
JAWS-UG横浜 #100 祝・第100回スペシャルAWS は VPC レスの時代へ
maroon1st
0
110
アーキテクチャモダナイゼーションとは何か
nwiizo
17
5k
SkillがSkillを生む:QA観点出しを自動化した
sontixyou
6
3.3k
t *testing.T は どこからやってくるの?
otakakot
0
290
Reactive ❤️ Loom: A Forbidden Love Story
franz1981
2
230
PHPで TLSのプロトコルを実装してみるをもう一度しゃべりたい
higaki_program
0
200
Cache-moi si tu peux : patterns et pièges du cache en production - Devoxx France 2026 - Conférence
slecache
0
190
AI-DLC Deep Dive
yuukiyo
7
2.3k
実践CRDT
tamadeveloper
0
500
Swift Concurrency Type System
inamiy
0
490
How Swift's Type System Guides AI Agents
koher
0
240
夢の無限スパゲッティ製造機 -実装篇- #phpstudy
o0h
PRO
0
210
Featured
See All Featured
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.2k
Paper Plane
katiecoart
PRO
1
49k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
Optimising Largest Contentful Paint
csswizardry
37
3.6k
エンジニアに許された特別な時間の終わり
watany
106
240k
GraphQLとの向き合い方2022年版
quramy
50
15k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
520
How to Ace a Technical Interview
jacobian
281
24k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.3k
How to Think Like a Performance Engineer
csswizardry
28
2.5k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
510
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