Skip to Main Content
Pragmatic Guide to Git
book

Pragmatic Guide to Git

by Travis Swicegood
November 2010
Beginner content levelBeginner
160 pages
2h 50m
English
Pragmatic Bookshelf
Content preview from Pragmatic Guide to Git
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.
Start your free trial

You might also like

Pragmatic Version Control Using Git

Pragmatic Version Control Using Git

Travis Swicegood
Git Version Control Cookbook - Second Edition

Git Version Control Cookbook - Second Edition

Kenneth Geisshirt, Emanuele Zattin(EUR), Aske Olsson, Rasmus Voss
Git for Programmers

Git for Programmers

Jesse Liberty

Publisher Resources

ISBN: 9781680500028Errata