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
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
210
Bug Hunt
mukkoo
0
140
Survive heisenbug in micro service architecture
mukkoo
1
130
WordFlow (WordPress WorkFlow)
mukkoo
0
110
What is git?
mukkoo
0
120
Around Angular2
mukkoo
0
130
Talk sui talk
mukkoo
1
210
Road to ES6
mukkoo
1
170
Middleman
mukkoo
0
240
Other Decks in Programming
See All in Programming
AI 時代のソフトウェア設計の学び方
masuda220
PRO
29
13k
JJUG CCC 2026 Spring: JSpecify で実現する Kotlin フレンドリーな Java API 設計
ternbusty
1
180
例外の正しい扱い方 そのエラー try-catchして大丈夫?
jinwatanabe
0
260
LLM本来の能力を解き放つサンドボックス技術とAI民主化への適用
yukukotani
3
4.3k
Hunting Vulnerabilities in Symfony with LLMs
vinceamstoutz
0
550
さぁV100、メモリをお食べ・・・
nilpe
0
150
AI時代のUIはどこへ行く?その2!
yusukebe
22
7.4k
Dataformのリポジトリを立ち上げるときにまずやること / dataform-day0-2026
snhryt
0
170
Semantic Version 単位で戦略を柔軟に変えて、パッケージアップデートを自動化する
daitasu
1
260
Contextとはなにか
chiroruxx
1
330
TypeScript+Orvalで実現する型安全かつ堅牢でスケーラブルなマルチチャネル通知基盤 / TSKaigi Night talks ~after conference~
d0riven
0
350
技術記事、AIに書かせるか、自分で書くか? 〜それでも私が自分の手で書く理由〜 / #QiitaConference
jnchito
2
1.4k
Featured
See All Featured
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6k
How to Think Like a Performance Engineer
csswizardry
28
2.7k
Typedesign – Prime Four
hannesfritz
42
3.1k
A Modern Web Designer's Workflow
chriscoyier
698
190k
Darren the Foodie - Storyboard
khoart
PRO
3
3.4k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.8k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
210
Heart Work Chapter 1 - Part 1
lfama
PRO
7
36k
KATA
mclloyd
PRO
35
15k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
400
Art, The Web, and Tiny UX
lynnandtonic
304
22k
The agentic SEO stack - context over prompts
schlessera
0
820
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