Created
April 18, 2012 20:41
-
-
Save itsthatguy/2416430 to your computer and use it in GitHub Desktop.
commit add push / commit add push heroku
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
function gap() { | |
if [ $# -eq 0 ]; then | |
echo Error: Please add a commit message | |
else | |
git add . | |
git commit -am "$*" | |
git push | |
fi | |
} | |
function gaph() { | |
if [ $# -eq 0 ]; then | |
echo Error: Please add a commit message | |
else | |
gap $* | |
git push heroku master | |
fi | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment