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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Frederick Cheung
April 20, 2013
Technology
0
85
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
73
Fixing Performance and Memory Problems
fcheung
2
530
Asking questions
fcheung
0
68
Extending Ruby
fcheung
1
490
Other Decks in Technology
See All in Technology
アウトプットはいいぞ / output_iizo
uhooi
0
140
ALB「証明書上限問題」からの脱却
nishiokashinji
0
250
SOC2は、取った瞬間よりその後が面白い
3flower
1
190
Proxmoxで作る自宅クラウド入門
koinunopochi
0
180
会社紹介資料 / Sansan Company Profile
sansan33
PRO
13
400k
Azure SRE Agent x PagerDutyによる近未来インシデント対応への期待 / The Future of Incident Response: Azure SRE Agent x PagerDuty
aeonpeople
0
140
ドキュメントからはじめる未来のソフトウェア
pkshadeck
3
890
クラウドセキュリティの進化 — AWSの20年を振り返る
kei4eva4
0
160
2026/01/16_実体験から学ぶ 2025年の失敗と対策_Progate Bar
teba_eleven
1
220
Kusakabe_面白いダッシュボードの表現方法
ykka
0
390
CodeRabbit CLI + Claude Codeの連携について
oikon48
1
640
EventBridge API Destination × AgentCore Runtimeで実現するLambdaレスなイベント駆動エージェント
har1101
7
250
Featured
See All Featured
Building the Perfect Custom Keyboard
takai
2
670
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
710
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
0
250
VelocityConf: Rendering Performance Case Studies
addyosmani
333
24k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
196
71k
Skip the Path - Find Your Career Trail
mkilby
0
47
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.3k
Git: the NoSQL Database
bkeepers
PRO
432
66k
Technical Leadership for Architectural Decision Making
baasie
1
220
Prompt Engineering for Job Search
mfonobong
0
150
Measuring & Analyzing Core Web Vitals
bluesmoon
9
740
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
50
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!