Created
November 19, 2015 16:14
-
-
Save williameliel/fb4575e38a56e8fcccfb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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