Created
April 15, 2016 12:10
-
-
Save unnamedd/87a5dba3deb4746b35fceffaca59eac9 to your computer and use it in GitHub Desktop.
script to walk through zewo flux folders and pull data from branch SNAPSHOT-2016-04-12
This file contains hidden or 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 | |
for i in $(ls -d */); do | |
if [ ! $i = "Flux.xcodeproj/" ]; then | |
cd ${i%%/}; | |
printf "\n\n##### ${i%%/}\n" | |
for f in $(ls -d */); do | |
cd ${f%%/}; | |
printf "${f%%/}" | |
git fetch -q | |
git checkout -q SNAPSHOT-2016-04-12 | |
git pull -q origin SNAPSHOT-2016-04-12 | |
echo " --> OK" | |
cd .. | |
done | |
cd .. | |
fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment