Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Check git for updates.
git remote update
local=$(git rev-list --max-count=1 master)
origin=$(git rev-list --max-count=1 origin/master)
if [ "$local" != "$origin" ];
git pull origin master
echo "Lets build it :)"
sh -ex ./
echo "No changes :("
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment