Push All Git Repos


/ Published in: Bash
Save to your folder(s)

Useful when managing a bunch of submodules.


Copy this code and paste it in your HTML
  1. find $PWD -name ".git" | while read line; do cd `dirname $line`; echo $PWD; git push; done

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.