Last active
February 11, 2018 01:13
-
-
Save onokatio/eb675a4b501b060bd41136c101209c10 to your computer and use it in GitHub Desktop.
公開リポジトリをフォークして非公開リポジトリにする ref: https://qiita.com/onokatio/items/1a962c99fde76f6778b4
This file contains hidden or 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 https://github.com/hoge/hoge |
This file contains hidden or 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
| $ cd hoge.git | |
| $ git lfs fetch --all | |
| $ cd ../ |
This file contains hidden or 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
| $ cd hoge.git | |
| $ git push --mirror [email protected]:myname/myrepo | |
| $ git lfs push --all [email protected]:myname/myrepo #git lfsを使用している場合のみ | |
| $ cd ../ | |
| $ rm -rf hoge.git |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment