Update all your submodules
Have a bunch of git submodules that need updating? Here is the command I use to get it done:
git submodule foreach git pull
Boom. You now have latest for all your submodules
Side note: I like to alias this command. Here is my alias:
alias gsu='git submodule foreach git pull'
Written by Bryan Mikaelian
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Git
Authors
khasinski
591.1K
dmichaelavila
500.4K
Related Tags
#git
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#