Skip to Main Content
The Art of Lean Software Development
book

The Art of Lean Software Development

by Curt Hibbs, Steve Jewett, Mike Sullivan
January 2009
Beginner content levelBeginner
142 pages
4h 15m
English
O'Reilly Media, Inc.
Content preview from The Art of Lean Software Development

Source Code Management

SCM, also known as revision control or version control, basically means keeping all of your source code and other project artifacts in a central repository that maintains a complete version history of every single file.

There are both centralized and distributed flavors of version control systems. We introduce the basic concepts using a centralized system because they are more widely used. Later in the chapter we discuss the minor differences between the two flavors and why one may suit your team better than the other.

Though each SCM system has its own nomenclature, especially for the more advanced set of commands, there are several basic operations common to all systems. Whenever you want to get the current code from an existing project, you can check out a version of that repository. You can then add, modify, and remove files by checking in changes, and you can also update, which downloads the changes that the rest of your team has made to the repository since your checkout or last update.

Benefits

Versioning is the most basic and important capability an SCM system provides. The SCM system stores a complete revision history of every change made to every file. Each modification is assigned a revision number, and you can access prior versions in a multitude of convenient ways. If you check in a change and then discover some unintended consequences, it is easy to revert to the previous working version.

If you discover a bug, you can temporarily go back to a version ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

The Nature of Software Development

The Nature of Software Development

Ron Jeffries

Publisher Resources

ISBN: 9780596155711Errata Page