Skip to Main Content
Pragmatic Version Control Using Git
book

Pragmatic Version Control Using Git

by Travis Swicegood
December 2008
Intermediate to advanced content levelIntermediate to advanced
184 pages
4h 47m
English
Pragmatic Bookshelf
Content preview from Pragmatic Version Control Using Git

A1.6 Git to SVN Bridge

The ability to receive and send commits to and from a Subversion repository is one of the many finishing touches that sets Git apart from all the other DVCSs. These are a few of the more common commands used when working with a remote SVN repository. You can find out more about them in Chapter 10, Migrating to Git.

Clone an Entire SVN Repository

 
​prompt> git svn clone <svn repository>

Clone an Entire SVN Repository Using Standard Layout

Use this if you are cloning a repository that uses the standard trunk, branches, and tags repository structure:

 
​prompt> git svn clone -s <svn repository>

Clone an Entire SVN Repository with Nonstandard Layout

 
​prompt> git svn clone -T <trunk path> ...
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

Git: Mastering Version Control

Git: Mastering Version Control

Ferdinando Santacroce, Aske Olsson, Rasmus Voss, Jakub Narębski
Pragmatic Guide to Git

Pragmatic Guide to Git

Travis Swicegood
Git Version Control Cookbook - Second Edition

Git Version Control Cookbook - Second Edition

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

Publisher Resources

ISBN: 9781680500189Errata Page