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
300
Other Decks in Programming
See All in Programming
手軽に積ん読を増やすには?/読みたい本と付き合うには?
o0h
PRO
1
110
TypeScriptで設計する 堅牢さとUXを両立した非同期ワークフローの実現
moeka__c
5
2.5k
Phronetic Team with AI - Agile Japan 2025 closing
hiranabe
2
680
Web エンジニアが JavaScript で AI Agent を作る / JSConf JP 2025 sponsor session
izumin5210
4
2k
Agentに至る道 〜なぜLLMは自動でコードを書けるようになったのか〜
mackee
5
2k
ソフトウェア設計の課題・原則・実践技法
masuda220
PRO
22
17k
AI 時代だからこそ抑えたい「価値のある」PHP ユニットテストを書く技術 #phpconfuk / phpcon-fukuoka-2025
shogogg
1
590
チーム開発の “地ならし"
konifar
8
6.1k
Combinatorial Interview Problems with Backtracking Solutions - From Imperative Procedural Programming to Declarative Functional Programming - Part 1
philipschwarz
PRO
0
110
生成AIを活用したリファクタリング実践 ~コードスメルをなくすためのアプローチ
raedion
0
140
dnx で実行できるコマンド、作ってみました
tomohisa
0
100
AIと協働し、イベントソーシングとアクターモデルで作る後悔しないアーキテクチャ Regret-Free Architecture with AI, Event Sourcing, and Actors
tomohisa
2
9.4k
Featured
See All Featured
Speed Design
sergeychernyshev
33
1.3k
YesSQL, Process and Tooling at Scale
rocio
174
15k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
359
30k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.8k
Stop Working from a Prison Cell
hatefulcrawdad
273
21k
KATA
mclloyd
PRO
32
15k
Music & Morning Musume
bryan
46
7k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
9
980
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.8k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
680
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.5k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
61k
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