Last active
October 1, 2019 01:54
-
-
Save guhungry/a07f24a9e18424014ae97c112c062eb0 to your computer and use it in GitHub Desktop.
SVN Migration via docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SVN_URL=https://35.240.170.113/svn/dmproject | |
REPO_DIR=dmproject | |
mkdir $REPO_DIR | |
cd $REPO_DIR | |
docker pull polinux/subgit | |
docker run \ | |
-ti \ | |
-w /subgit \ | |
-v ${PWD}:/subgit \ | |
polinux/subgit \ | |
subgit configure --layout directory $SVN_URL $REPO_DIR | |
docker run \ | |
-ti \ | |
-w /subgit \ | |
-v ${PWD}:/subgit \ | |
polinux/subgit \ | |
subgit install $REPO_DIR |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment