/ Published in: Bash
Useful when managing a bunch of submodules.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
find $PWD -name ".git" | while read line; do cd `dirname $line`; echo $PWD; git push; done