Copying isn’t as straightforward as a copy or a pull request.
- Create the new repository – I used the GitHub to create a new repository that was available to others in my organization.
- Then push the source repository to the destination repository via the command line. git push –mirror https://github.com/exampleuser/new-repository.git
There you have it. You can then use the GitHub UI and you will see the files from the original project in the new project. At this point, you can clone it, etc and you have ready to code away.
sheltonn August 18th, 2015
Posted In: Git, GitHub, java ninja, Javaninja