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.
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.