Elaborate ## Submodules

This commit is contained in:
SI 2020-02-27 22:02:48 +09:00 committed by GitHub
parent 37f9a744ef
commit f2734d6361
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1722,7 +1722,7 @@ $ git tag --contains <commitid>
$ git clone --recursive git://github.com/foo/bar.git $ git clone --recursive git://github.com/foo/bar.git
``` ```
すでにクローンしている場合 すでにクローンしている場合は次の通りです。
```sh ```sh
$ git submodule update --init --recursive $ git submodule update --init --recursive
@ -1732,7 +1732,7 @@ $ git submodule update --init --recursive
### サブモジュールを削除する ### サブモジュールを削除する
サブモジュールの作成はきわめて簡単ですが、削除はそうでもありません。 サブモジュールの作成はきわめて簡単ですが、削除はそうでもありません。
削除に必要なコマンドは次の通りです 削除に必要なコマンドは次の通りです
```sh ```sh
$ git submodule deinit submodulename $ git submodule deinit submodulename