Chapter 9. Working with Subversion

 

This chapter covers

  • Importing an existing Subversion repository into a Git repository
  • Fetching from and pushing changes to a Subversion repository for Git
  • Accessing a GitHub repository using a Subversion client

Despite the growth of Git, Subversion (also known as SVN) remains widely used across many projects. Many older open source projects continue to use Subversion, as do many internal corporate projects.

Fortunately, Git provides functionality to allow you to access existing Subversion repositories through the git svn command. This also provides a good way of learning Git if you have to use Subversion repositories, and a good migration path for projects that currently use Subversion and wish to use Git. In this chapter you’ll learn about Git’s Subversion integration.

Technique 56 Importing an SVN repository into a Git repository

Let’s start by importing the “Google Search Appliance connector for Lotus Notes” Subversion repository from Google Code. I selected it because it has a small history but contains branches and tags so you can see how they’re used.

9.1. Subversion branches and tags

 
 

9.2. Subversion ignore rules

 
 
 

9.3. Updating a Subversion repository

 

9.4. Subversion authors and committers

 
 
 
 

9.5. Viewing a Subversion repository in GitX

 
 
 

9.6. Migrating a Subversion repository to Git

 
 
 

9.7. Local branching and tagging

 
 
 

9.8. Summary

 
 
sitemap

Unable to load book!

The book could not be loaded.

(try again in a couple of minutes)

manning.com homepage
test yourself with a liveTest