Created
February 12, 2016 16:09
-
-
Save chaimann/9aecf6a0d9f2c33809bd to your computer and use it in GitHub Desktop.
copy last git commit message to clipboard
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
// git config --global alias.last 'log -1 HEAD' | |
git last | tail -n 1 | sed 's/^[[:blank:]]*//;s/[[:blank:]]*$//' | pbcopy" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment