Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
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
0
300
Git a life
A simple introduction about GIT and versioning.
Filippo Gangi Dino
June 23, 2017
Tweet
Share
More Decks by Filippo Gangi Dino
See All by Filippo Gangi Dino
talk_sui_talk_WP_Meetup.pdf
mukkoo
0
190
Bug Hunt
mukkoo
0
120
Survive heisenbug in micro service architecture
mukkoo
1
100
WordFlow (WordPress WorkFlow)
mukkoo
0
95
What is git?
mukkoo
0
110
Around Angular2
mukkoo
0
110
Talk sui talk
mukkoo
1
190
Road to ES6
mukkoo
1
150
Middleman
mukkoo
0
220
Other Decks in Programming
See All in Programming
非同期処理の迷宮を抜ける: 初学者がつまづく構造的な原因
pd1xx
1
720
まだ間に合う!Claude Code元年をふりかえる
nogu66
5
840
ZOZOにおけるAI活用の現在 ~モバイルアプリ開発でのAI活用状況と事例~
zozotech
PRO
9
5.7k
著者と進める!『AIと個人開発したくなったらまずCursorで要件定義だ!』
yasunacoffee
0
140
これならできる!個人開発のすゝめ
tinykitten
PRO
0
110
Findy AI+の開発、運用におけるMCP活用事例
starfish719
0
860
Navigation 3: 적응형 UI를 위한 앱 탐색
fornewid
1
340
LLMで複雑な検索条件アセットから脱却する!! 生成的検索インタフェースの設計論
po3rin
3
740
複数人でのCLI/Infrastructure as Codeの暮らしを良くする
shmokmt
5
2.3k
モデル駆動設計をやってみようワークショップ開催報告(Modeling Forum2025) / model driven design workshop report
haru860
0
270
AIコードレビューがチームの"文脈"を 読めるようになるまで
marutaku
0
360
UIデザインに役立つ 2025年の最新CSS / The Latest CSS for UI Design 2025
clockmaker
18
7.5k
Featured
See All Featured
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.8k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.1k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.2k
KATA
mclloyd
PRO
33
15k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
48
9.8k
Building Flexible Design Systems
yeseniaperezcruz
330
39k
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.6k
Principles of Awesome APIs and How to Build Them.
keavy
127
17k
Being A Developer After 40
akosma
91
590k
Docker and Python
trallard
47
3.7k
4 Signs Your Business is Dying
shpigford
186
22k
A designer walks into a library…
pauljervisheath
210
24k
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