Created
April 18, 2014 08:56
-
-
Save satoruk/11032634 to your computer and use it in GitHub Desktop.
GitHubリポジトリのミラー ref: http://qiita.com/satoruk/items/186af9d095d744d15c76
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 --bare git@ghe1:foo/bar.git | |
cd web.git/ | |
git remote add ghe2 git@ghe2:foo/bar.git |
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 fetch --prune origin 'refs/heads/*:refs/heads/*' | |
git push ghe2 --mirror |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment