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> ... |
Get Pragmatic Version Control Using Git now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.