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
Why on earth is git super awesome?
Search
Christopher Brown
September 28, 2011
Programming
4
240
Why on earth is git super awesome?
Christopher Brown
September 28, 2011
Tweet
Share
More Decks by Christopher Brown
See All by Christopher Brown
Crucible
xoebus
0
250
Concourse
xoebus
0
130
Final Project Presentation - Database Filesystem
xoebus
2
280
Accessing Databases by using a Filesystem
xoebus
2
120
Database Visualisation
xoebus
2
130
Other Decks in Programming
See All in Programming
Hypervel - A Coroutine Framework for Laravel Artisans
albertcht
1
110
Benchmark
sysong
0
280
PHP 8.4の新機能「プロパティフック」から学ぶオブジェクト指向設計とリスコフの置換原則
kentaroutakeda
2
710
RailsGirls IZUMO スポンサーLT
16bitidol
0
130
CursorはMCPを使った方が良いぞ
taigakono
1
210
プロダクト志向なエンジニアがもう一歩先の価値を目指すために意識したこと
nealle
0
120
PHPでWebSocketサーバーを実装しよう2025
kubotak
0
250
PostgreSQLのRow Level SecurityをPHPのORMで扱う Eloquent vs Doctrine #phpcon #track2
77web
2
420
Google Agent Development Kit でLINE Botを作ってみた
ymd65536
2
210
Kotlin エンジニアへ送る:Swift 案件に参加させられる日に備えて~似てるけど色々違う Swift の仕様 / from Kotlin to Swift
lovee
1
260
Result型で“失敗”を型にするPHPコードの書き方
kajitack
4
560
AIプログラマーDevinは PHPerの夢を見るか?
shinyasaita
1
180
Featured
See All Featured
Product Roadmaps are Hard
iamctodd
PRO
54
11k
Art, The Web, and Tiny UX
lynnandtonic
299
21k
Building Adaptive Systems
keathley
43
2.6k
Embracing the Ebb and Flow
colly
86
4.7k
jQuery: Nuts, Bolts and Bling
dougneiner
63
7.8k
KATA
mclloyd
30
14k
Become a Pro
speakerdeck
PRO
28
5.4k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
124
52k
Typedesign – Prime Four
hannesfritz
42
2.7k
The Pragmatic Product Professional
lauravandoore
35
6.7k
How to train your dragon (web standard)
notwaldorf
94
6.1k
Transcript
? WHY ON EARTH IS GIT SUPER AWESOME
git *
...is distributed. git *
?
Centralised
None
Slow Network Required Poor Branching Restrictive
Distributed
None
Fast No Network Needed Any Workflow Safer
Developer Developer Developer Integration Manager Blessed Repository
git *
...is easy. git *
Core (Plumbing) UI (Porcelain)
$ cd my-project $ git init Initialized empty Git repository
in /Users/cb/my-project/.git/ $ git add . $ git commit -m “initial commit”
$ cd my-project $ git init Initialized empty Git repository
in /Users/cb/my-project/.git/ $ git add . $ git commit -m “initial commit”
$ cd my-project $ git init Initialized empty Git repository
in /Users/cb/my-project/.git/ $ git add . $ git commit -m “initial commit”
$ cd my-project $ git init Initialized empty Git repository
in /Users/cb/my-project/.git/ $ git add . $ git commit -m “initial commit”
$ cd my-project $ git init Initialized empty Git repository
in /Users/cb/my-project/.git/ $ git add . $ git commit -m “initial commit”
$ vim ... $ git commit -am “changed some widgets”
$ vim ... $ git commit -am “changed some widgets”
Done.
git merge git blame git status git log git checkout
git branch git clone git rebase git config git revert git tag git reset git bisect git pull git fetch git stash git add
git merge git blame git status git log git checkout
git branch git clone git rebase git config git revert git tag git reset git bisect git pull git fetch git stash git add
git *
...is fast. git *
...and stupid.
stupid = simple
simple = fast
Commit Tree Blob Tag
Commit
Commit Tree Tree Blob Blob Blob
Commit Commit
Commit Commit Commit
Commit Commit Commit Commit Commit
Commit Commit Commit Commit Commit Commit
Commit Tag
git *
...is friendly. git *
None
Pull Requests Issues Wikis Community
git *
...is reliable. git *
Industry Usage
Industry Support Linux Kernel Google Eclipse Android
IDE Support
git *
...is branch-able. git *
$ git branch quick-test
$ git merge quick-test
$ git branch -d quick-test
git *
...is efficient. git *
Cheap Local Branching
zlib Compression
Only Send Changes
git *
...is free. git *
None
git *
...is not perfect! git *
No Partial Checkouts
Limited Binary Support
* git
...is awesome. git *
Fin.
Fin. Questions? @xoebus
[email protected]
xoebus
Fin. http://git-scm.com @xoebus
[email protected]
xoebus