Skip to content

Instantly share code, notes, and snippets.

@guhungry
Last active October 1, 2019 01:54
Show Gist options
  • Save guhungry/a07f24a9e18424014ae97c112c062eb0 to your computer and use it in GitHub Desktop.
Save guhungry/a07f24a9e18424014ae97c112c062eb0 to your computer and use it in GitHub Desktop.
SVN Migration via docker
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