1
0
mirror of https://github.com/k88hudson/git-flight-rules.git synced 2025-05-09 17:38:12 -03:00

Translate ## Submodules

This commit is contained in:
SI 2020-02-20 21:17:40 +09:00 committed by GitHub
parent 96c427d51d
commit 675c08afd9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1708,25 +1708,26 @@ $ git log -L :FunctionName:FilePath
$ git tag --contains <commitid>
```
## Submodules
## サブモジュール
<a name="clone-submodules"></a>
### Clone all submodules
### 全てのサブモジュールをクローンする
```sh
$ git clone --recursive git://github.com/foo/bar.git
```
If already cloned:
すでにクローンしている場合:
```sh
$ git submodule update --init --recursive
```
<a name="delete-submodule"></a>
### Remove a submodule
### サブモジュールを削除する
Creating a submodule is pretty straight-forward, but deleting them less so. The commands you need are:
サブモジュールの作成はきわめて簡単ですが、削除はそうでもありません。
削除に必要なコマンドは次の通りです:
```sh
$ git submodule deinit submodulename