Created
February 28, 2012 18:23
-
-
Save chip/1934131 to your computer and use it in GitHub Desktop.
Copy the last commit message to the Mac clipboard
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
| git log --pretty=oneline | head -1 | perl -pne 's/^(.{1,41}) (.*)$/$2/; s/\n//g' | pbcopy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment