Submitted by mario on Fri, 09/12/2011 - 21:38
I'm managing a large number of git submodules on a particular project, and found their working directories often became dirty in various ways (i.e. file perms changing with an Aegir deployment).
Found the handy 'git submodule foreach' command can be used to reset them all in one fell swoop:
git submodule foreach 'git reset --hard'
Hello
Blog
Video
Travel
Add new comment