Created
October 2, 2013 14:16
-
-
Save ynaoto/6794477 to your computer and use it in GitHub Desktop.
ローカルな git ディレクトリを取り込む
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 foo # .git があって github で管理しているところ | |
| git remote add a /bar # ローカルな .git があるところ | |
| git subtree add --prefix=bar a master | |
| git push | |
| git remote rm a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment