Duplicating-a-repository-GitHub-Help
Duplicating-a-repository-GitHub-Help #
Duplicating a repository - GitHub Help #
Created: January 30, 2020 8:55 PM URL: https://help.github.com/en/github/creating-cloning-and-archiving-repositories/duplicating-a-repository GitHub.com Creating, cloning, and archiving repositories Creating a repository on GitHub Duplicating a repository
Duplicating a repository #
To duplicate a repository without forking it, you can run a special clone command, then mirror-push to the new repository. Mac Windows Linux
In this article #
- Mirroring a repository
- Mirroring a repository that contains Git Large File Storage objects
- Mirroring a repository in another location Before you can duplicate a repository and push to your new copy, or mirror, of the repository, you must create the new repository on GitHub. Open Terminal.
old-repository
Mirroring a repository that contains Git Large File Storage objects #
Replace the example username with the name of the person or organization who owns the repository, and replace the example repository name with the name of the repository you’d like to duplicate. Push the repository’s Git Large File Storage objects to your mirror.
old-repository
Mirroring a repository in another location #
If you want to mirror a repository in another location, including getting updates from the original, you can clone a mirror and periodically push the changes.