Skip to content

Instantly share code, notes, and snippets.

@maxt3r
Created November 18, 2012 13:17
Show Gist options
  • Save maxt3r/4105217 to your computer and use it in GitHub Desktop.
Save maxt3r/4105217 to your computer and use it in GitHub Desktop.
Quick commit and push with Mercurial
#Quick way to commit and push for Mercurial. Put it into your .zshrc
#No need to write -m and to put a commit message into quotes
#Example usage: hgcp commit message
hgcp() {hg commit -m "$*"; hg push}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment