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
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
670
Harnessing the Science of Persuasion
dennis1088
0
300
Other Decks in Education
See All in Education
ルクソールとツタンカーメン
masakamayama
1
1.2k
The Prison Industrial Complex by Billy Dee
oripsolob
0
560
とある EM の初めての育休からの学び
clown0082
1
1.1k
Казармы и гарнизоны
pnuslide
0
170
The Task is not the End: The Role of Task Repetition and Sequencing In Language Teaching
uranoken
0
300
Medidas en informática
irocho
0
1.1k
Informasi Program Coding Camp 2025 powered by DBS Foundation
codingcamp2025
0
150
5 Things Every L&D Pro Should Steal from Marketing
tmiket
0
150
Padlet opetuksessa
matleenalaakso
4
13k
小学校プログラミング教育、次の5年に向けて 〜つくること・学ぶことの歓びへ〜 /NextGenerationOfProgrammingEducation
kiriem
2
360
ISMS審査準備ブック_サンプル【LRM 情報セキュリティお役立ち資料】
lrm
0
1.1k
ワクワク発見資料
akenohoshi
0
170
Featured
See All Featured
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
59k
Mobile First: as difficult as doing things right
swwweet
223
9.3k
We Have a Design System, Now What?
morganepeng
51
7.4k
GitHub's CSS Performance
jonrohan
1030
460k
Producing Creativity
orderedlist
PRO
343
39k
YesSQL, Process and Tooling at Scale
rocio
171
14k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
99
18k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
The World Runs on Bad Software
bkeepers
PRO
67
11k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
21
2.5k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
10
1.3k
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
?