Checkout git submodules to the latest tag
$ git submodule foreach 'git fetch origin; git checkout $(git describe --tags `git rev-list --tags --max-count=1`);'
Written by franklin
Related protips
1 Response
thanks
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Submodule
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#