Chapter 10 Migrating to Git

If you’ve been developing for long, you probably have a Subversion or CVS repository that already has your complete project history stored in it. Switching to Git doesn’t mean you have to lose all that history. In fact, Git provides several tools to make migrating easy.

In this chapter, you’ll learn how to do the following:

  • Import your history from Subversion

  • Stay in sync with a remote Subversion

  • Import your history from CVS

To help you map the Subversion and CVS commands you’re familiar with to their Git counterparts, the Subversion mapping is shown in Figure 10, Common Subversion commands in Git, and the CVS mapping is shown in Figure 11, Common CVS commands in Git.

Figure 10. Common Subversion ...

Get Pragmatic Version Control Using Git now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.