Introduction to Version Control

67 %
33 %
Information about Introduction to Version Control

Published on September 4, 2008

Author: phpcodemonkey

Source: slideshare.net

Description

Short introduction to Version Control with specific focus on Subversion

Version Control Introduction / Taster Use on-line resources, books or colleagues for more info Solution Perspective Media

Introduction / Taster

Use on-line resources, books or colleagues for more info



Solution Perspective Media

Version Control What is it A method for centrally storing files Keeping a record of changes Who did what, when in the system Covering yourself when things inevitably go wrong

What is it

A method for centrally storing files

Keeping a record of changes

Who did what, when in the system

Covering yourself when things inevitably go wrong

Version Control: Why? Individual Back-up methodology Increments – know which version is live Point in time marking aka. Tagging Branching – release versions maintained & main development can continue Change history – when features were added or amended Team As Individual plus: Allow multiple developers (in remote locations) to work on same code base Merge changes across same files – handle collisions Answer who did what – blame / praise

Individual

Back-up methodology

Increments – know which version is live

Point in time marking aka. Tagging

Branching – release versions maintained & main development can continue

Change history – when features were added or amended

Team

As Individual plus:

Allow multiple developers (in remote locations) to work on same code base

Merge changes across same files – handle collisions

Answer who did what – blame / praise

Version Control: Centralised

Version Control: Distributed

Version Control: Types CVS – Concurrent Version System http://www.nongnu.org/cvs/ SVN – Subversion http://subversion.tigris.org/ Git* - http://git.or.cz/ Bazaar* - http://bazaar-vcs.org/ Mercurial* - http://www.selenic.com/mercurial/ Monotone* - http://www.monotone.ca/ VSS – Visual Source Safe – Microsoft visual tool * Distributed version control

CVS – Concurrent Version System

http://www.nongnu.org/cvs/

SVN – Subversion http://subversion.tigris.org/

Git* - http://git.or.cz/

Bazaar* - http://bazaar-vcs.org/

Mercurial* - http://www.selenic.com/mercurial/

Monotone* - http://www.monotone.ca/

VSS – Visual Source Safe – Microsoft visual tool

* Distributed version control

Subversion Code centralised in a repository Check out a working copy into a development area on local machine Make changes, test etc. Changes committed back to the central repository – usually with a useful comment Each work session an update is performed to get changes from other team members

Code centralised in a repository

Check out a working copy into a development area on local machine

Make changes, test etc.

Changes committed back to the central repository – usually with a useful comment

Each work session an update is performed to get changes from other team members

Subversion Change log – who, when, what Check for differences between current version and any version in repository Create and apply patches between tags, branches and trunk Recover old versions of files, roll-back when it goes wrong Recover old versions of project – single version number for all files (unlike e.g. CVS)

Change log – who, when, what

Check for differences between current version and any version in repository

Create and apply patches between tags, branches and trunk

Recover old versions of files, roll-back when it goes wrong

Recover old versions of project – single version number for all files (unlike e.g. CVS)

Subversion Clients SVN command-line tool HTTP (WebDav) SVN+SSH Dedicated client tools for all major platforms Plug-ins for IDEs e.g. Zend Studio, Eclipse Automatic integration as a network drive (user doesn't need to know it's a version control system)

SVN command-line tool

HTTP (WebDav)

SVN+SSH

Dedicated client tools for all major platforms

Plug-ins for IDEs e.g. Zend Studio, Eclipse

Automatic integration as a network drive (user doesn't need to know it's a version control system)

Subversion Resources Documentation, links to clients etc. at http://subversion.tigris.org/ Read Bean Book (Open Source) http://svnbook.red-bean.com/ Pragmatic Version Control Using Subversion – Mike Mason, Pragmatic Bookshelf Version Control with Subversion – Collins-Sussman, O'Reilly (Turtles)

Documentation, links to clients etc. at http://subversion.tigris.org/

Read Bean Book (Open Source) http://svnbook.red-bean.com/

Pragmatic Version Control Using Subversion – Mike Mason, Pragmatic Bookshelf

Version Control with Subversion – Collins-Sussman, O'Reilly (Turtles)

Add a comment

Related presentations

Related pages

An introduction to version control • Beanstalk Guides

A basic introduction to version control workflow, terminology and the types of version control systems such as Subversion and Git.
Read more

A Visual Guide to Version Control | BetterExplained

A Visual Guide to Version Control. by Kalid Azad · 394 comments Version Control (aka Revision Control aka Source Control) lets you track your files over time.
Read more

Version Control - Episode 1 - Introduction - YouTube

Welcome to the Software Carpentry lecture on version control. In this episode, we will explain what version control is, how it works, and why ...
Read more

Git - About Version Control

This chapter will be about getting started with Git. We will begin by explaining some background on version control tools, then move on to how to get Git ...
Read more

Introduction to Version Control - Linode

Introduction to Version Control. Updated Wednesday, September 18th, 2013 by Linode. In the Hosting a Website guide, you learned how to host your website by ...
Read more

An introduction to version control - subversion:

Based on a Wikipedia article. Last edited on October 11th, 2006 by Garrett Rooney and Guido Haarmans . Summary: a short overview of Version Control, based ...
Read more

An Introduction to Version Control - General Programming ...

Introducing BeanstalkWe have some exciting news! GameDev.net has partnered with Beanstalk, one of the most reliable Git and Subversion hosts, to bring you ...
Read more

Introduction to Version Control

General Remarks about Version Control Distributed Version Control System Git Introduction to Version Control Ralf Hemmecke Research Institute for Symbolic ...
Read more

A Quick Introduction to Version Control with Git and GitHub

Introduction to Version Control. Many scientists write code as part of their research. Just as experiments are logged in laboratory notebooks ...
Read more