tldr/pages/common/git-svn.md

400 B

git svn

Bidirectional operation between a Subversion repository and Git.

  • Clone an SVN repository:

git svn clone {{http://example.com/my_subversion_repo}} {{local_dir}}

  • Update local clone from the remote SVN repository:

git svn rebase

  • Fetch updates from the remote SVN repository without changing the git HEAD:

git svn fetch

  • Commit back to SVN repository:

git svn dcommit