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
dennis1088
April 30, 2012
Education
3.5k
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Git Version Control System
dennis1088
April 30, 2012
More Decks by dennis1088
See All by dennis1088
Stroke Width Transform
dennis1088
1
700
Harnessing the Science of Persuasion
dennis1088
0
350
Other Decks in Education
See All in Education
Protecting Patrons with Digital Vendors
dsalo
0
200
Public Space Is Not For Sale
drikkes
0
110
参加制約理論
roadofhope
0
120
良い塩梅を実現する、AWSネットワーク3分クッキング
masakiokuda
1
260
Πλουτοκρατία: Η Τυραννία του Μαμμωνά και η Μεταανθρώπινη Δουλεία
amethyst1
0
260
Catecismo 26 #1 - Aula inaugural
cm_manaus
0
180
2026年度春学期 統計学 講義の進め方と成績評価について (2026. 4. 9)
akiraasano
PRO
0
190
Soluciones al examen de Geografía 2026. JUNIO (Convocatoria Ordinaria)
juanmartin2026
0
4.1k
「機械学習と因果推論」入門 ⑤ 因果効果推定の一般化
masakat0
0
120
AWS Certified Generative AI Developer - Professional Beta 不合格体験記
amarelo_n24
1
370
「機械学習と因果推論」入門 ② 回帰分析から因果分析へ
masakat0
0
710
Where Data Meets Storytelling
georgesinnott
0
110
Featured
See All Featured
Producing Creativity
orderedlist
PRO
348
40k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.7k
Unsuck your backbone
ammeep
672
58k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.4k
30 Presentation Tips
portentint
PRO
1
330
Thoughts on Productivity
jonyablonski
76
5.2k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.8k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.3k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.5k
Test your architecture with Archunit
thirion
1
2.3k
How to train your dragon (web standard)
notwaldorf
97
6.7k
The Art of Programming - Codeland 2020
erikaheidi
57
14k
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
?