Skip to content

Instantly share code, notes, and snippets.

@scmy scmy/pullall.sh
Created Mar 18, 2016

Embed
What would you like to do?
Pull all Student’s git Repo
#!/bin/bash
for i in $(ls -d */); do
echo "======================="
echo ${i%%/}
echo "======================="
cd ${i%%/}
git pull
cd ..
done
Sign in to join this conversation on GitHub.
You can’t perform that action at this time.