Created
April 18, 2017 17:11
-
-
Save imom39a/ee1d0736891c78109c05368136628e24 to your computer and use it in GitHub Desktop.
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/bash | |
CUR_DIR=$(pwd) | |
echo "\n\Pulling in latest changes for all module...\n" | |
for i in $(find . -name ".git" | cut -c 3-); do | |
echo ""; | |
echo "current directory"+$i; | |
cd "$i"; | |
cd ..; | |
git pull origin dev; | |
cd $CUR_DIR | |
done | |
echo "Pull completed" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment