Skip to main content

Bidirectional operation between a Subversion repository and Git.

# To clone an SVN repository:
git svn clone https://example.com/subversion_repo local_dir

# To clone a SVN repository starting at a given revision number:
git svn clone -r1234:HEAD https://svn.example.net/subversion/repo local_dir

# To update local clone from the remote SVN repository:
git svn rebase

# To fetch updates from the remote SVN repository without changing the git HEAD:
git svn fetch

# To commit back to the SVN repository:
git svn dcommit