LoginSignup
13
12

More than 5 years have passed since last update.

git submodule update が面倒くさい、忘れる

Posted at

post-checkout hook を使う。プロジェクトを初期化するスクリプトなんかでこれを仕込むようにすれば皆何も考えなくてよさげ。

.git/hooks/post-checkout
#!/bin/sh
git submodule update --init --recursive
13
12
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
13
12