Skip to content

Instantly share code, notes, and snippets.

@tapajos
Created June 28, 2012 22:42
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tapajos/3014438 to your computer and use it in GitHub Desktop.
Save tapajos/3014438 to your computer and use it in GitHub Desktop.
project_update
#!/bin/bash
cd ~/workspace
echo -e "\n\033[1mPulling all repositories...\033[0m\n"
for i in $(find . -maxdepth 1 -mindepth 1 -type d -type d); do
echo -e "\033[1m"+$i+"\033[0m"; cd $i; git pull --rebase;
cd ..
done
echo -e "\n\033[1mComplete!\033[0m\n"
@kartikm
Copy link

kartikm commented Mar 19, 2013

If you're on Linux. Check: mr (http://joeyh.name/code/mr/)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment