Created
July 2, 2012 11:46
-
-
Save keesvanbochove/3032840 to your computer and use it in GitHub Desktop.
Transfer NBIC Trac projects to GitHub
This file contains 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
mbpkees:projects kees$ git svn --no-metadata --authors-file=authors clone -s https://trac.nbic.nl/svn/grails-plugins -T dbxpModuleBase/trunk dbxp-module-base | |
cd dbxp-module-base | |
git remote add origin [email protected]:thehyve/dbxp-module-base.git |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
First, create an empty project on GitHub.
Then run this command locally.
In the authors file (put rules like svnname = github [email protected]) you can define the mapping to GitHub users.
-T ../trunk makes sure that you check out only trunk in the root of the GitHub project.
Finally, you can add the remote to the project you created (3rd line) and then do a git push --force origin master to the repository.