Skip to content

Instantly share code, notes, and snippets.

@coderaiser
Last active December 25, 2015 06:39
Show Gist options
  • Select an option

  • Save coderaiser/6933493 to your computer and use it in GitHub Desktop.

Select an option

Save coderaiser/6933493 to your computer and use it in GitHub Desktop.
#!/bin/sh
git clone git@github.com:cloudcmd/io-ru
cd io-ru
git submodule init
git submodule update
cd _layouts && git checkout master
cd ../..
git clone git@github.com:cloudcmd/io-ua
cd io-ua
git submodule init
git submodule update
cd _layouts && git checkout master
cd ../..
git clone git@github.com:coderaiser/cloudcmd-io
cd cloudcmd-io
git submodule init
git submodule update
cd _layouts && git checkout master
cd ../..
#!/bin/sh
msg=""
if test -z "$*";
then
msg="feature(layouts) update"
else
msg="feature(layouts) $*"
fi
echo $msg
cd io-ru && git pull
cd _layouts && git pull && cd ..
git commit -am "$msg"
git push origin gh-pages
cd ..
cd io-ua && git pull
cd _layouts && git pull && cd ..
git commit -am "$msg"
git push origin gh-pages
cd ..
cd cloudcmd-io && git pull
cd _layouts && git pull && cd ..
git commit -am "$msg"
git push origin gh-pages
cd ..
cd coderaiser.github.io && git pull
cd _layouts && git pull && cd ..
git commit -am "$msg"
git push origin master
cd ..
cd pages
cd thecat-page && git pull
cd _layouts && git pull . master && cd ..
git commit -am "$msg"
git push origin gh-pages
cd ..
cd minify && git pull
cd _layouts && git pull . master && cd ..
git commit -am "$msg"
git push origin gh-pages
cd ..
cd status-ok-page && git pull
cd _layouts && git pull . master && cd ..
git commit -am "$msg"
git push origin gh-pages
cd ../..
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment