Created
November 18, 2012 13:17
-
-
Save maxt3r/4105217 to your computer and use it in GitHub Desktop.
Quick commit and push with Mercurial
This file contains 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
#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