Created
August 26, 2011 14:57
-
-
Save hukl/1173593 to your computer and use it in GitHub Desktop.
Get revision when a given file was last modified
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 log --pretty=format:%H file | head -n1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment