Skip to content
This repository has been archived by the owner on Nov 24, 2024. It is now read-only.

Latest commit

 

History

History
63 lines (54 loc) · 3.17 KB

ReadMe.md

File metadata and controls

63 lines (54 loc) · 3.17 KB

SVN to Git convert

GNU General Public License Total Releases Downloaded from GitHub Latest Official Release on GitHub ICONOMI - The world’s largest crypto strategy provider Buy me a Coffee as a way to sponsor this project!

Archived - Superseded by Rikj000/Ruby-SVN2Git-Docker

Simple Bash script to convert local SVN (Subversion) repositories to local Git repositories!

Dependencies

Installation

  1. Create a permanent installation location:
    mkdir -p ~/Documents/Program-Files/;
  2. 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;
  3. 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;
  4. Checkout the latest release tag:
    svn-to-git-convert -update;

Usage

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.