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
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
180
Bug Hunt
mukkoo
0
110
Survive heisenbug in micro service architecture
mukkoo
1
99
WordFlow (WordPress WorkFlow)
mukkoo
0
92
What is git?
mukkoo
0
110
Around Angular2
mukkoo
0
100
Talk sui talk
mukkoo
1
180
Road to ES6
mukkoo
1
150
Middleman
mukkoo
0
210
Other Decks in Programming
See All in Programming
AI Coding Meetup #3 - 導入セッション / ai-coding-meetup-3
izumin5210
0
600
ててべんす独演会〜Flowの全てを語ります〜
tbsten
1
220
開発者への寄付をアプリ内課金として実装する時の気の使いどころ
ski
0
350
Cloudflare AgentsとAI SDKでAIエージェントを作ってみた
briete
0
110
Django Ninja による API 開発効率化とリプレースの実践
kashewnuts
0
980
iOSアプリの信頼性を向上させる取り組み/ios-app-improve-reliability
shino8rayu9
0
150
実践AIチャットボットUI実装入門
syumai
7
2.5k
ABEMAモバイルアプリが Kotlin Multiplatformと歩んだ5年 ─ 導入と運用、成功と課題 / iOSDC 2025
akkyie
0
330
プロダクト開発をAI 1stに変革する〜SaaS is dead時代で生き残るために〜 / AI 1st Product Development
kobakei
0
490
Reduxモダナイズ 〜コードのモダン化を通して、将来のライブラリ移行に備える〜
pvcresin
2
690
ソフトウェア設計の実践的な考え方
masuda220
PRO
3
490
AIエージェント時代における TypeScriptスキーマ駆動開発の新たな役割
bicstone
4
1.5k
Featured
See All Featured
Code Review Best Practice
trishagee
72
19k
VelocityConf: Rendering Performance Case Studies
addyosmani
332
24k
Build The Right Thing And Hit Your Dates
maggiecrowley
37
2.9k
The Invisible Side of Design
smashingmag
301
51k
Making Projects Easy
brettharned
119
6.4k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
9.7k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
6.1k
Building Better People: How to give real-time feedback that sticks.
wjessup
368
20k
Testing 201, or: Great Expectations
jmmastey
45
7.7k
How GitHub (no longer) Works
holman
315
140k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.6k
BBQ
matthewcrist
89
9.8k
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