1 2 3 4 5 6 7 8
#!/bin/sh while read p; do echo $p cd ~/Projects/onap/$p git fetch git reset --hard origin git clean -f -d -x done < projects.txt