Created
November 10, 2011 20:02
-
-
Save rubiii/1355998 to your computer and use it in GitHub Desktop.
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
# the problem: | |
gcm() { | |
git commit -m "$@" | |
} | |
# which is supposed to be used like: | |
gcm fixed issue 113 | |
# and should execute: | |
git commit -m "fixed issue 113" | |
# in double quotes so i can use single quotes | |
# inside the message! like: | |
gcm what's this s***? | |
# HELP! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
kinda evil, but this seems to work:
single quotes need to be escaped though: