Skip to content

Instantly share code, notes, and snippets.

@tkhduracell
Last active August 29, 2015 14:25
Show Gist options
  • Save tkhduracell/59b59a6255edc83b96db to your computer and use it in GitHub Desktop.
Save tkhduracell/59b59a6255edc83b96db to your computer and use it in GitHub Desktop.
COLL=Main
PROJ=Installer
DEST=mycomp_installer
REMOTE=mycomp/installer
cd ~/GitMigration
git svn clone --trunk=/ --authors-file=authors.txt --username=Filip http://svn.mycomp.com/svn/$COLL/$PROJ $DEST
cd $DEST
java -Dfile.encoding=utf-8 -jar ~/svn-migration-scripts.jar clean-git --no-delete
java -Dfile.encoding=utf-8 -jar ~/svn-migration-scripts.jar clean-git --no-delete --force
git remote add origin [email protected]:$REMOTE.git
git push -u origin --all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment