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 Version Control System
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
dennis1088
April 30, 2012
Education
1
3.5k
Git Version Control System
dennis1088
April 30, 2012
Tweet
Share
More Decks by dennis1088
See All by dennis1088
Stroke Width Transform
dennis1088
1
690
Harnessing the Science of Persuasion
dennis1088
0
340
Other Decks in Education
See All in Education
JAPAN AI CUP Prediction Tutorial
upura
1
550
【洋書和訳:さよならを待つふたりのために】第1章 出会いとメタファー
yaginumatti
0
230
Security, Privacy and Trust - Lecture 11 - Web Technologies (1019888BNR)
signer
PRO
0
3.2k
160人の中高生にAI・技術体験の講師をしてみた話
shuntatoda
0
300
AIで日本はどう進化する? 〜キミが生きる2035年の地図〜
behomazn
0
110
The Next Big Step Toward Nuclear Disarmament
hide2kano
0
210
2025-12-11 nakanoshima.dev LT
takesection
0
100
多様なメンター、多様な基準
yasulab
PRO
5
19k
TinyGoをWebブラウザで動かすための方法+アルファ_20260201
masakiokuda
1
160
【ベテランCTOからのメッセージ】AIとか組織とかキャリアとか気になることはあるけどさ、個人の技術力から目を背けないでやっていきましょうよ
netmarkjp
2
2.2k
Chapitre_2_-_Partie_3.pdf
bernhardsvt
0
150
MySmartSTEAM 2526
cbtlibrary
0
190
Featured
See All Featured
Building a Scalable Design System with Sketch
lauravandoore
463
34k
Fireside Chat
paigeccino
41
3.8k
It's Worth the Effort
3n
188
29k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
79
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
1
300
Game over? The fight for quality and originality in the time of robots
wayneb77
1
110
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
0
430
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
170
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
49
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
160
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
320
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.4k
Transcript
GIT VERSION CONTROL SYSTEM GIT VERSION CONTROL SYSTEM
EVOLUTION Ve r s i o n C o n
t r o l EVOLUTION
LOCAL VCS LOCAL VCS
CENTRALIZED VCS CENTRALIZED VCS
DISTRIBUTED VCS DISTRIBUTED VCS
HISTORY o f G i t HISTORY
1991 2002 2005 Present Linux Kernel maintenance passed around as
patches and archived les Linux Kernel project began using proprietary DVCS system called BitKeeper Relationship between Linix community and company that owned BitKeeper broke down
“To hell with it we’ll build our own!” - Me
imagining
Speed Simple Non-linear Development Fully Distributed + + + Large
Projects +
None
vs SNAPSHOTS DIFFERENCES
DIFFERENCES Version 1 Version 2 Version 3 Version 4 le
A le B le C ˚ 1 ˚ 2 ˚ 1 ˚ 2 ˚ 1
SNAPSHOTS Version 1 Version 2 Version 3 Version 4 B
C A1 B C1 A1 B C2 A2 B1 C2 A
vs CLONING CHECKOUT
CHECKOUT retrieve a certain version of the repository and placing
it in the working directory
CLONING receive a copy of nearly all data that the
server has including every version of every le for the history of the project
LOCAL OPERATIONS working directory staging area git dir. (repo) checkout
project stage les commit LOCAL OPERATIONS
BASICS git init start tracking existing project in git git
add . git commit -m “initial commit” begin tracking les and make rst commit
BASICS get a copy of existing git repo git status
determine what les are in what state git clone git://rit.edu/foo.git git diff to see what has changed but not yet staged
KILLER FEATURE: BRANCHING
branching adj - diverge from the main line of development
and continue to do work with out messing with the original line.
BRANCHING create a new branch named testing git checkout testing
switch to an existing branch git branch testing git merge testing merge all changes from a branch
LOCAL WORKFLOW master feature-branch
LOCAL WORKFLOW master feature-branch
REMOTE REPOS to view remote servers you have con gured
git remote add james git://url adding a remote repository git remote git fetch james pulls changed data to local repo (no merging)
REMOTE REPOS automatically fetch and merge remote branch git push
james master share your code with a remote branch git pull james master
DEMONSTRATION
git:hub
SOCIAL CODING
?