Guest User

Untitled

a guest
Jan 16th, 2018
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. #!/usr/bin/env zsh
  2.  
  3. submodules=("${(@f)$(find . -type d -depth 1)}")
  4. for submodule in $submodules
  5. do
  6. print "=== $submodule"
  7. git --work-tree=$submodule --git-dir=$submodule/.git $*
  8. print
  9. done
Add Comment
Please, Sign In to add comment