LoginSignup
0
0

More than 1 year has passed since last update.

Git サブモジュールをクローン

Last updated at Posted at 2022-06-27

サブモジュールと一緒にクローン

Gitリポジトリをクローンする時に、そのGitリポジトリのサブモジュールも一緒にクローンするために使用するコマンド。

commond
$ git clone --recursive {GitリポジトリのURL}

サブモジュールをクローン

Gitリポジトリをクローンし、その後サブモジュールをクローンするために使用するコマンド。

commond
$ git submodule update –init

上記が権限問題等でクローン出来ない場合、下記で解消される可能性がある

commond
$ git pull --recurse-submodules
$ git submodule foreach --recursive git reset --hard
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0