O'Reilly logo

Xcode® 4 Unleashed, Second Edition by Frederic F. Anderson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 7. Version Control

In This Chapter

• What version control is

• Creating your own repositories

• Using existing repositories

• Examining your code’s history

Branching

There isn’t much to the passer-rating project—about 120 lines of source, plus the contents of the project file—but you have already invested a lot of time and trouble in it. So far, you’ve simply created some source code, but soon you will be moving on from creation to change. If you’re like most programmers, you are conservative of the code you’ve written. An old function may no longer be required, but it may still embody a valuable understanding of the underlying problem.

One solution might be simply to keep all the obsolete code in your active source files, possibly ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required