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
猫と暮らす Google Nest Cam生活🐈 / WebRTC with Google Nest Cam
yutailang0119
0
120
Railsアプリケーションと パフォーマンスチューニング ー 秒間5万リクエストの モバイルオーダーシステムを支える事例 ー Rubyセミナー 大阪
falcon8823
5
1.1k
PipeCDのプラグイン化で目指すところ
warashi
1
270
PostgreSQLのRow Level SecurityをPHPのORMで扱う Eloquent vs Doctrine #phpcon #track2
77web
2
530
スタートアップの急成長を支えるプラットフォームエンジニアリングと組織戦略
sutochin26
1
5.5k
第9回 情シス転職ミートアップ 株式会社IVRy(アイブリー)の紹介
ivry_presentationmaterials
1
320
NPOでのDevinの活用
codeforeveryone
0
830
LT 2025-06-30: プロダクトエンジニアの役割
yamamotok
0
750
Team operations that are not burdened by SRE
kazatohiei
1
310
AI駆動のマルチエージェントによる業務フロー自動化の設計と実践
h_okkah
0
150
『自分のデータだけ見せたい!』を叶える──Laravel × Casbin で複雑権限をスッキリ解きほぐす 25 分
akitotsukahara
2
640
Porting a visionOS App to Android XR
akkeylab
0
460
Featured
See All Featured
How STYLIGHT went responsive
nonsquared
100
5.6k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
740
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.9k
Bash Introduction
62gerente
613
210k
A Tale of Four Properties
chriscoyier
160
23k
GraphQLの誤解/rethinking-graphql
sonatard
71
11k
Code Review Best Practice
trishagee
69
18k
The Pragmatic Product Professional
lauravandoore
35
6.7k
Side Projects
sachag
455
42k
Building a Modern Day E-commerce SEO Strategy
aleyda
42
7.4k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
45
7.5k
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