Skip to content

Instantly share code, notes, and snippets.

@tmcw
Created January 22, 2015 03:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tmcw/c646a92a0b31a873e90c to your computer and use it in GitHub Desktop.
Save tmcw/c646a92a0b31a873e90c to your computer and use it in GitHub Desktop.
#!/bin/sh
export message=$1
# echo $message
for d in turf_modules/*; do
if [ -d $d ]
then
echo '---------------'
echo $d
(cd $d; git add .)
(cd $d; git commit -m "$message")
(cd $d; git push origin master)
echo '---------------'
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment