Skip to content

Instantly share code, notes, and snippets.

@StevePotter
Created December 20, 2012 19:11
Show Gist options
  • Save StevePotter/4347839 to your computer and use it in GitHub Desktop.
Save StevePotter/4347839 to your computer and use it in GitHub Desktop.
For very lazy devs using git with heroku and want to commit and push some changes to heroku they just made. I saved this as /usr/bin/git-heroku. It takes a single parameter, which is the commit message.
#! /bin/bash
git add .
git commit -m "$1"
git push heroku master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment