Last active
November 29, 2018 13:03
-
-
Save jaredmo/465c23a50bc76985c3ccbe17aede0b7b to your computer and use it in GitHub Desktop.
fetch.sh
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
# git fetch and status on all projects in working directory | |
d=$(ls -d -- */) | |
for i in $d | |
do | |
echo "Fetching $i..." | |
cd $i/ | |
git fetch | |
git status | |
echo | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment