'What is the best way to copy a repository into a new repository?
I have a repository A that I would like to copy into a new repository B. What is the best way to do this?
I know that I can use the command git push --mirror https://github.com/<account>/B.git from inside the directory of repository A. This is one way of doing it.
Is there a better or more straightforward way, involving cloning or forking? I'm unable to fork a repository from <myaccount>/A to <myaccount>/B.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
