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 a life
Search
Filippo Gangi Dino
June 23, 2017
Programming
330
0
Share
Git a life
A simple introduction about GIT and versioning.
Filippo Gangi Dino
June 23, 2017
More Decks by Filippo Gangi Dino
See All by Filippo Gangi Dino
talk_sui_talk_WP_Meetup.pdf
mukkoo
0
200
Bug Hunt
mukkoo
0
140
Survive heisenbug in micro service architecture
mukkoo
1
120
WordFlow (WordPress WorkFlow)
mukkoo
0
100
What is git?
mukkoo
0
120
Around Angular2
mukkoo
0
130
Talk sui talk
mukkoo
1
200
Road to ES6
mukkoo
1
170
Middleman
mukkoo
0
240
Other Decks in Programming
See All in Programming
TSKaigi 2026 TypeScriptバックエンドのオブザーバビリティ戦略 — Datadog × NestJSの実践
taiseiyamamotoan
1
210
3Dシーンの圧縮
fadis
1
540
oxlintはeslint/typescript-eslintを置き換えられるのか
shomafujita
2
290
PHPで使える日時の表現と、その知り方 #frontend_phpcon_do
o0h
PRO
0
130
代数的データ型って何が嬉しいの? #frontend_phpcon_do
kajitack
7
2.2k
inferと仲良くなる10分間
ryokatsuse
1
280
JJUG CCC 2026 Spring: JSpecify で実現する Kotlin フレンドリーな Java API 設計
ternbusty
1
110
気づいたらRubyで100作品 ー クリエイティブコーディングが生活の一部になるまで / 100 Ruby Sketches Later: How Creative Coding Became Part of My Life
chobishiba
3
500
OCRを使ってゲームのアイテムをデータ化する
kishikawakatsumi
0
120
ふつうのFeature Flag実践入門
irof
7
3.4k
さぁV100、メモリをお食べ・・・
nilpe
0
120
関係性から理解する"同一性"の型用語たち
pvcresin
2
620
Featured
See All Featured
Believing is Seeing
oripsolob
1
140
First, design no harm
axbom
PRO
2
1.2k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
550
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.8k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
320
Mind Mapping
helmedeiros
PRO
1
220
Deep Space Network (abreviated)
tonyrice
0
160
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
150
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.3k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
200
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
560
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Transcript
GIT A LIFE
@MUKKOO
@mukkoo
@mukkoo
@mukkoo
VErsioning @mukkoo Version Control System
Copy & Paste VCS @mukkoo project/ project_old/ project_old_old/ project_ok/ project_ok_ok/
project_ok_ok_new/ projectOK_ok_ok_new/
Centralized VCS @mukkoo CVS, Subversion, Perforce Server Repository Client Client
Client Client
Distributed VCS @mukkoo Git, Mercurial, Bazaar Hub Repository Server Server
Server Server Repository Repository Repository Repository
GIT* @mukkoo *idiot
Linus Torvalds
focus @mukkoo 1. Make the opposite of CVS (SVN) 2.
Distributed workflow 3. Safe against file corruption 4. High performance
Snapshot not DIFF @mukkoo 0 +2 +4 -3/2 DIFF: Every
commit record differences 0 2 6 1,5 SNAPSHOT: Every commit record all file tree
Three States @mukkoo Git Directory Working Directory Staging Area Untracked
Committed
WARNING!!! the hardest part is coming.
Branching @mukkoo c1 c2 master HEAD feature
Branching @mukkoo c1 c2 master HEAD feature c3 c4 c5
c6 feature2
@mukkoo Need fix on master. NOW!
Branching @mukkoo c1 c2 master HEAD feature c3 c4 c5
c6 feature2 c7 c8
Branching @mukkoo c1 c2 master HEAD feature c3 c4 c7
c8 c9
The Theory is Over @mukkoo Are you hungry?
Commands @mukkoo
INIT @mukkoo $ git init
status @mukkoo $ git status show the working tree status
ADD @mukkoo $ git add <args> add file to staging
area
Commit @mukkoo $ git commit -m “message” record changes
LOG @mukkoo $ git log Show commits log
checkout - - @mukkoo $ git checkout -- <file> Restore
a modified file
branch @mukkoo $ git branch <branch_name> Create a new branch
checkout @mukkoo $ git checkout <branch_name> Move to branch
merge @mukkoo $ git merge <branch_name> merge branch
DEMO TIME @mukkoo
Useful concepts @mukkoo
remotes (command and concept) fetch (command) push/pull (commands) @mukkoo Network
rebase (command) fast forward (concept) stashing (command) @mukkoo FLOW
ignoring files (.gitignore) gitk and git gui (gui tools) shortcut
and configs (.gitconfig) @mukkoo Settings and tools
Q&A @mukkoo
what does Wordpress use? @mukkoo
GIT A SLICE of pizza @mukkoo