Created
November 22, 2011 13:34
-
-
Save tandibar/1385667 to your computer and use it in GitHub Desktop.
Copy latest commit hash to 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 -1 | grep "commit .*" | ruby -e "print ARGF.read.split(' ')[1]" | pbcopy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment