Archived - Superseded by Rikj000/Ruby-SVN2Git-Docker
Simple Bash script to convert local SVN (Subversion) repositories to local Git repositories!
- Create a permanent installation location:
mkdir -p ~/Documents/Program-Files/;
- Clone the
svn-to-git-convert
repo locally to the permanent installation location:git clone https://github.com/Rikj000/SVN-to-Git-convert.git ~/Documents/Program-Files/SVN-to-Git-convert;
- Setup a system link for easy CLI usage:
sudo ln -s ~/Documents/Program-Files/SVN-to-Git-convert/svn-to-git-convert.sh /usr/bin/svn-to-git-convert;
- Checkout the latest release tag:
svn-to-git-convert -update;
Following is the output of svn-to-git-convert -h
:
SVN-to-Git-convert - v1.0.0
Simple "bash" script to convert local SVN (Subversion) repositories to local Git repositories!
Usage:
svn-to-git-convert [options]
Example:
svn-to-git-convert -s="/path/to/svn/input/repo" -g="/path/to/git/output/repo"
Optional options:
-h, -help Show this help.
-u, -update Update SVN-to-Git-convert to the latest version.
-s, -svn_input_dir=<path> Path to local input SVN repository, defaults to current working directory.
-g, -git_output_dir=<path> Path to local output Git repository, defaults to "output" folder above current working directory.