Skip to content

Instantly share code, notes, and snippets.

@lerouxb
Created October 26, 2010 11:29
Show Gist options
  • Save lerouxb/646738 to your computer and use it in GitHub Desktop.
Save lerouxb/646738 to your computer and use it in GitHub Desktop.
get latest git commit hash/id/thingum for a file
git log -1 --format=%H FILENAME
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment