{"repo":"svn-all-fast-export/svn2git","free":true,"listed":false,"github":"https://github.com/svn-all-fast-export/svn2git","clone":"git clone https://github.com/svn-all-fast-export/svn2git.git","description":":octopus: A fast-import based converter for an svn repo to git repos","language":"C++","stars":284,"topics":["command-line-tool","git","subversion","svn","svn2git","version-control"],"license":"GPL-3.0","category":"cli-tools","readme_excerpt":"svn-all-fast-export aka svn2git =============================== This project contains all the tools required to do a conversion of an svn repository (server side, not a checkout) to one or more git repositories. This is the tool used to convert KDE's Subversion into multiple Git repositories. You can find more description and usage examples at https://techbase.kde.org/Projects/MoveToGit/UsingSvn2Git How does it work ---------------- The svn2git repository gets you an application that will do the actual conversion. The conversion exists of looping over each and every commit in the subversion repository and matching the changes to a ruleset after which the changes are applied to a certain path in a git repo. The ruleset can specify which git repository to use and thus you can have more than one git repository as a result of running the conversion. Also noteworthy is that you can have a rule that, for example, changes in svnrepo/branches/foo/2.1/ will appear as a git-branch in a repository. If you have a proper ruleset the tool will create the git repositories for you and show progress while converting commit by commit. After it is done you likely want to run git repack -a -d -f to compress the pack file as it can get quite big. Running as Docker image ----------------------- Just mount your SVN folder, plus another working directory where Git repository will be created. Sample usage with input mounted in /tmp and output produced in /workdir: Building the tool ----------------- ","default_branch":null,"files":null,"tree":[],"storefront":"/r/svn-all-fast-export","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/svn-all-fast-export/svn2git/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}