Skip to content

Instantly share code, notes, and snippets.

@Vagabond
Created April 4, 2011 20:38
Show Gist options
  • Save Vagabond/902379 to your computer and use it in GitHub Desktop.
Save Vagabond/902379 to your computer and use it in GitHub Desktop.
#!/bin/sh
BRANCH=$1
PWD=`pwd`
#git pull origin master
git checkout $BRANCH
for repo in `ls deps`; do
cd deps/$repo
#git pull origin master
git checkout $BRANCH
cd ../..
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment