Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
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
Transcript
30 slides
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
?
More Decks by dennis1088
See All by dennis1088
Stroke Width Transform
dennis1088
1
730
Harnessing the Science of Persuasion
dennis1088
0
360
Other Decks in Education
See All in Education
Longitudinal research
aisw77
0
440
Sekolah Sabat - Triwulan 4 2026 - Pelajaran 9
hiola
0
1.1k
人工知能とは/IntroAI02
kfujita
0
130
La Hidrografía en España. Tema 3
juanmartin2026
0
50k
パラグラフから始めるアカデミック・ライティング
neuroiwm
3
2.9k
Liburd and Stoll Farrell "Copyright Essentials From A to AI: A 2026 NISO Training Series, Session One: Foundations & Frameworks of Copyright"
baltimoreniso
0
260
Sekolah Sabat - Triwulan 4 2026 - Pelajaran 4
hiola
0
7.4k
GOVERNOR ADDRESS 2 :延岡 研一 氏(国際ロータリー第2720地区:2026-2027年度 地区ガバナー・人吉ロータリークラブ ・人吉電気工事株式会社 会長)卓話 : 2026.10.26例会・卓話
2720japanoke
0
700
Web Architectures - Lecture 2 - Web Technologies (1019888BNR)
signer
PRO
0
3.8k
Sekolah Sabat - Triwulan 4 2026 - Pelajaran 3
hiola
0
7.3k
Session 8 - Teknik Lobby dan Negosiasi
adeputra13
0
300
Session 3 - Mass Communication
adeputra13
0
750
Featured
See All Featured
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
3
3.9k
Ruling the World: When Life Gets Gamed
codingconduct
0
450
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
123
22k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
970
Skip the Path - Find Your Career Trail
mkilby
1
300
Heart Work Chapter 1 - Part 1
lfama
PRO
11
37k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
580
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2.2k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3.1k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
1.1k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.5k
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
1
310