Skip to content

Instantly share code, notes, and snippets.

@tapajos
tapajos / gist:3014438
Created June 28, 2012 22:42
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