Last active
July 9, 2016 20:43
-
-
Save Logiks/4b075c96ee0e41b71fa6012c84a670a2 to your computer and use it in GitHub Desktop.
Search for all git sub projects, and updates them all.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
find . -type d -name .git -exec sh -c "cd \"{}\"/../ && pwd && git pull origin master" >tmp/update.log \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment