| 43 | Syncing with Subversion |
One of Git’s key advantages over other DVCSs early on was its
ability to communicate with Subversion through
git-svn. Though other DVCSs now have
integration with Subversion to varying degrees, Git still leads
the pack.
git-svn is installed by default on most
systems, but on Ubuntu and other Linux-based systems that break up
software into individual packages. you do need to install it
separately (see Task 1, Installing Git).
You can clone a Subversion repository with a standard
layout[19] by using git svn clone
-s and providing Git with the repository URL. You
can use --trunk,
--tags, and
--branches to provide Git with a
custom location for your trunk, tags, and branches.
Creating a clone is all you need ...
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.
Read now
Unlock full access