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
Introduction to Version Control
Search
Frederick Cheung
April 20, 2013
Technology
0
84
Introduction to Version Control
Lightning talk on version control from Rails Girls London.
Frederick Cheung
April 20, 2013
Tweet
Share
More Decks by Frederick Cheung
See All by Frederick Cheung
how_to_ab_test_with_confidence_railsconf.pdf
fcheung
0
64
Fixing Performance and Memory Problems (RubyWine)
fcheung
0
65
Fixing Performance and Memory Problems
fcheung
2
530
Asking questions
fcheung
0
65
Extending Ruby
fcheung
1
490
Other Decks in Technology
See All in Technology
Oracle Database@Google Cloud:サービス概要のご紹介
oracle4engineer
PRO
1
790
Cloud WAN MCP Serverから考える新しいネットワーク運用 / 20251228 Masaki Okuda
shift_evolve
PRO
0
130
20251219 OpenIDファウンデーション・ジャパン紹介 / OpenID Foundation Japan Intro
oidfj
0
590
『君の名は』と聞く君の名は。 / Your name, you who asks for mine.
nttcom
1
130
ESXi のAIOps だ!2025冬
unnowataru
0
440
Identity Management for Agentic AI 解説
fujie
0
590
フィッシュボウルのやり方 / How to do a fishbowl
pauli
2
430
Entity Framework Core におけるIN句クエリ最適化について
htkym
0
140
コールドスタンバイ構成でCDは可能か
hiramax
0
120
普段使ってるClaude Skillsの紹介(by Notebooklm)
zerebom
8
2.6k
Oracle Database@Azure:サービス概要のご紹介
oracle4engineer
PRO
3
210
Kiro を用いたペアプロのススメ
taikis
4
2.1k
Featured
See All Featured
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.3k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
0
980
The Spectacular Lies of Maps
axbom
PRO
1
400
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.7k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
6.8k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Designing for Timeless Needs
cassininazir
0
100
The SEO identity crisis: Don't let AI make you average
varn
0
40
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
210
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
320
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
410
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
359
30k
Transcript
Introduction to version control
Managing changes
• Wikipedia page history • google docs revision log •
track changes in Word
None
How does a good VCS help?
Saving our bacon • Store your code securely • Throw
away a change that doesn’t work • Find an older version that works • Find what change caused a problem
Working with others • Allow people to work together without
conflict • Avoid fragmentation of the codebase • Track who changed what, when, why
Experimenting in isolation • You don’t want to release a
half done or experimental feature • Create a copy of your codebase: a branch • When that feature is done, you merge that branch
Top tips
Lingo • You store code in a repository • You
checkout code from a repository • You commit changes back to the repository • When you commit a change you write a commit message explaining your changes
Keep commits small and focussed • Fix 1 bug •
Add 1 feature • Not all the work from 1 day
Commit messages are letters to your future self • Explain
what you are doing, and why you are doing • 1 line summary, plus longer discussion if needed
A bad commit message • Doesn’t tell you why you
made the change. • Doesn’t describe what the change was • Won’t make much sense 6 months from now Twiddle some CSS
A better commit message Fixed homepage rendering bug on firefox
16 Firefox incorrectly calculates padding when nesting a something element in a something else element.
There are many revision control systems • git, mercurial, bazaar,
svn, darcs, perforce etc. • git is the most popular in the rails community
Where to go from here • Install git! • Free
git hosting at github.com • The git book - http://git-scm.com/book • GUIs: Tower, github for mac/windows
Version control is for everyone!