Can I fork a Codeplex repo to GitHub?

906 Views Asked by At

Simple question, is it possible to fork a Codeplex repo on my GitHub?

Thanks.

3

There are 3 best solutions below

2
Bernard Vander Beken On BEST ANSWER

Yes, you can use the GitHub Importer and read its documentation.

0
VonC On

Yes, but you need first to clone the Codeplex repo using Git, as shown in "Using Git with CodePlex"

Then you can change the rmeote "origin", and point it the a new and empty GitHub repo that you would have created.

cd /path/to/local/clone
git remote set-url origin https://[email protected]/username/newrepo
git push --mirror
0
Jehy On
  1. If it is SVN repository, you can't use github importer, bitbucket importer, git svn, svnrdump and even git2svn (it's just incompatible and causes errors because that's not real svn but TFS) - so you can only checkout and push to github the last version of repository. Losing all history is really sad.

  2. If you want to fork a git repository from codeplex, you can do it like with any other git repository - just like VonC described in his answer - add both origins, pull from codeplex and push to github.