211
168

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

git submoduleしてるリポジトリをリモートの最新に更新する

Posted at

git submodule updateしてもgit submodule initした時点のコミットにしか追従してくれません。
git submodule addしてるリポジトリ(例えば.vim/vundleとか)をgithubなどのリモートの最新に追従するにはgit submodule foreach git pull origin masterを実行します。
git statusで見るとsubmoduleで管理しているリポジトリが変更されたことになっているのでgit add/commitしておきます。

211
168
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
211
168

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?