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
690
Harnessing the Science of Persuasion
dennis1088
0
340
Other Decks in Education
See All in Education
ロータリー国際大会について~国際大会に参加しよう~:古賀 真由美 会員(2720 Japan O.K. ロータリーEクラブ・(有)誠邦産業 取締役)
2720japanoke
1
770
0121
cbtlibrary
0
120
Node-REDで広がるプログラミング教育の可能性
ueponx
1
260
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.2k
2025年の本当に大事なAI動向まとめ
frievea
0
170
自己紹介 / who-am-i
yasulab
PRO
5
6.3k
学習指導要領と解説に基づく学習内容の構造化の試み / Course of study Commentary LOD JAET 2025
masao
0
120
IHLヘルスケアリーダーシップ研究会17期説明資料
ihlhealthcareleadership
0
870
Security, Privacy and Trust - Lecture 11 - Web Technologies (1019888BNR)
signer
PRO
0
3.2k
外国籍エンジニアの挑戦・新卒半年後、気づきと成長の物語
hypebeans
0
730
Linguaxes de programación
irocho
0
530
2025-10-30 社会と情報2025 #05 CC+の代わり
mapconcierge4agu
0
110
Featured
See All Featured
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
9.5k
Evolving SEO for Evolving Search Engines
ryanjones
0
120
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
61k
KATA
mclloyd
PRO
34
15k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2k
Abbi's Birthday
coloredviolet
1
4.7k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
170
The Cult of Friendly URLs
andyhume
79
6.8k
The SEO identity crisis: Don't let AI make you average
varn
0
67
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.3k
Un-Boring Meetings
codingconduct
0
200
Designing for Performance
lara
610
70k
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
?