Created
April 4, 2018 14:28
-
-
Save hwshim0810/b34faecdf88348d4f9b5efd2d32a8336 to your computer and use it in GitHub Desktop.
Copy git repository to new repository with reservation history
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone --mirror [OriginRepo.git] | |
cd [OriginRepo.git] | |
git remote set-url --push origin [New Repo.git] | |
git push --mirror |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment