Skip to content

Instantly share code, notes, and snippets.

@ch0c01d
Created July 18, 2015 12:46
Show Gist options
  • Save ch0c01d/078f17867e546ba40caa to your computer and use it in GitHub Desktop.
Save ch0c01d/078f17867e546ba40caa to your computer and use it in GitHub Desktop.
Mass Github update
#!bin/bash
#Coded By Egar Rizki [ Ch0c01d ]
for dir in `ls` ; do
if [-d $dir]; then
echo [ + ] Updating $dir
cd $dir
git pull
cd ..
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment