Skip to content

Instantly share code, notes, and snippets.

@guhungry
Last active Oct 1, 2019
Embed
What would you like to do?
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