Tutorial : import svn with all history into github
Step 1) Create a project on github
Step 2) Init the github project by :
echo "# GKD" >> README.md git init git add README.md git commit -m "first commit" git remote add origin https://github.com/mcheung63/GKD.git <--- replace your project url git push -u origin master
Step 3) git clone https://github.com/mcheung63/GKD.git <— replace your project url
Step 4) cd to that directory
Step 5) user https://github.com/nirvdrum/svn2git and run:
svn2git "svn://svn.petersoft.com/GKD" --trunk / --nobranches --notags
Step 6) svn2git –rebase
Step 7) git pull
Step 8) git commit -a
Step 9) git push
ALL DONE !!!