50a433e2705886e562c6da4f886e97bf9e772591
git/submodule/Origin URL\343\202\222\345\244\211\346\233\264\343\201\231\343\202\213.md
| ... | ... | @@ -0,0 +1,9 @@ |
| 1 | +参考: [submodule の向き先 url を変更する](https://qiita.com/8mamo10/items/fd11d8c7a2d928b39173) |
|
| 2 | + |
|
| 3 | +新たなOriginのURLを`[New Origin URL]`とする。 |
|
| 4 | + |
|
| 5 | + |
|
| 6 | +1. `git remote remove origin` |
|
| 7 | +2. `git remote add origin [New Origin URL]` |
|
| 8 | +3. submoduleを含有するGitレポジトリ(以降、親レポジトリ)に移動し、`.gitmodules`内のURLを`[New Origin URL]`に変更する。 |
|
| 9 | +4. 親レポジトリにて、`git submodule sync` |
|
| ... | ... | \ No newline at end of file |