how do I export svn repository to git when I don't have svn credential? -



how do I export svn repository to git when I don't have svn credential? -

i have total checkout of svn repository in folder. don't have credentials of svn repository(hosted in unfuddle). want move folder new git repostitory ( github) history , changes intact . if possible maintain commiters . how export exiting svn folder github ?

an svn checkout not include it's own history, can treat normal set of files.

git init newgit svn export yourcheckout newgit git commit -a newgit

svn export re-create files except hidden .svn directories. git commit -a recursively add together alter command , commit it. you'll prompted commit note, of course.

to publish github, first create business relationship @ github, go here create repository:

http://help.github.com/create-a-repo/

let's called test , business relationship prabesh, it's total name

git@github.com:prabesh/test.git

the total details of shown on github when create repo, 1 time repo exists, can upload local svn exported git repo github, registering remote (github) repo, , pushing local re-create it:

git remote add together origin git@github.com:prabesh/test.git git force -u origin master

git svn github git-svn

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -