git export of https://sshnet.codeplex.com/
$ cat authors.txt
SND\drieseng_cp = drieseng <[email protected]>
SND\olegkap_cp = olegkap <[email protected]>
SND\Kenneth_aa_cp = Kenneth_aa <[email protected]>
SND\GiantJunkBox_cp = GiantJunkBox <[email protected]>
vstfs:///Framework/IdentityDomain/91bfc952-fec6-4be4-b192-9eb3b8389945\Project Collection Service Accounts = Project Collection Service Accounts <[email protected]>
SND\diehardvn_cp = diehardvn <[email protected]>
$ git svn clone --no-metadata https://sshnet.svn.codeplex.com/svn/ ssh.net --revision 9489:HEAD --authors-file=authors.txt
We need to skip some commits from the early days else the export would fail.
Add the svn remote and authorsfile to your .git/config
[svn-remote "svn"]
noMetadata = 1
url = https://sshnet.svn.codeplex.com/svn
fetch = :refs/remotes/git-svn
[svn]
authorsfile = authors.txt
$ git svn fetch --revision 9489:HEAD
$ git rebase origin/master git-svn
$ git checkout -b update
$ git rebase update master
$ git checkout master
$ git branch -D update
$ git push