Skip to content

Instantly share code, notes, and snippets.

@junaidpv
Created February 23, 2013 11:35
Show Gist options
  • Select an option

  • Save junaidpv/5019444 to your computer and use it in GitHub Desktop.

Select an option

Save junaidpv/5019444 to your computer and use it in GitHub Desktop.
Git pull all reositories residing on current directoy.
for i in */
do
echo "Opening directory $i..."
cd $i
git pull
cd ../
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment