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
680
Harnessing the Science of Persuasion
dennis1088
0
320
Other Decks in Education
See All in Education
America and the World
oripsolob
0
520
小さなチャレンジが生んだチームの大きな変化 -私のふりかえり探求の原点
callas1900
0
600
ANS-C01_2回不合格から合格までの道程
amarelo_n24
1
270
社外コミュニティと「学び」を考える
alchemy1115
2
170
2025年度春学期 統計学 第8回 演習(1) 問題に対する答案の書き方(講義前配付用) (2025. 5. 29)
akiraasano
PRO
0
120
2025/06/05_読み漁り学習
nag8
0
170
2025年度春学期 統計学 第13回 不確かな測定の不確かさを測る ー 不偏分散とt分布 (2025. 7. 3)
akiraasano
PRO
0
100
令和政経義塾第2期説明会
nxji
0
120
万博マニアックマップを支えるオープンデータとその裏側
barsaka2
0
110
2025年度春学期 統計学 第3回 クロス集計と感度・特異度,データの可視化 (2025. 4. 24)
akiraasano
PRO
0
200
Visualisation Techniques - Lecture 8 - Information Visualisation (4019538FNR)
signer
PRO
0
2.4k
Avoin jakaminen ja Creative Commons -lisenssit
matleenalaakso
0
1.9k
Featured
See All Featured
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
31
1.3k
The Cult of Friendly URLs
andyhume
79
6.5k
Code Reviewing Like a Champion
maltzj
524
40k
Testing 201, or: Great Expectations
jmmastey
43
7.6k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
The Art of Programming - Codeland 2020
erikaheidi
54
13k
Fireside Chat
paigeccino
37
3.5k
Reflections from 52 weeks, 52 projects
jeffersonlam
351
21k
GitHub's CSS Performance
jonrohan
1031
460k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.8k
We Have a Design System, Now What?
morganepeng
53
7.7k
Measuring & Analyzing Core Web Vitals
bluesmoon
7
530
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
?