6

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

Thanks.

Ucodia
  • 7,410
  • 11
  • 47
  • 81

3 Answers3

2

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

Bernard Vander Beken
  • 4,848
  • 5
  • 54
  • 76
  • 3
    From GitHub Importer: "Imports from Codeplex's SVN bridge are not supported, because Codeplex does not support svnrdump. Please try importing from Codeplex+TFS, or maybe use svn2git." From CodePlex: "Only project members can connect to the project using TFS. Non-members may use Subversion to access the repository." I guess I'll have to clone locally and add github as a second remote, as described [here](http://lastexitcode.com/blog/2012/09/26/CloneCodePlexRepositoryToGitHub/) – drizin Dec 04 '15 at 02:12
  • Thanks for the clarification. – Bernard Vander Beken Dec 07 '15 at 13:53
0

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://username@github.com/username/newrepo
git push --mirror
Jehy
  • 4,729
  • 1
  • 38
  • 55
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
0
  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.

Community
  • 1
  • 1
Jehy
  • 4,729
  • 1
  • 38
  • 55