Skip to content

Instantly share code, notes, and snippets.

@williameliel
Created November 19, 2015 16:14
Show Gist options
  • Save williameliel/fb4575e38a56e8fcccfb to your computer and use it in GitHub Desktop.
Save williameliel/fb4575e38a56e8fcccfb to your computer and use it in GitHub Desktop.
#!/bin/bash
if [ -z $1 ]
then
echo "Enter commit message"
exit 1;
fi
middleman build
git add -A
git commit -am "$1"
git push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment