Skip to content

Instantly share code, notes, and snippets.

@mattmccarty
Created July 26, 2016 21:24
Show Gist options
  • Save mattmccarty/c4fadabdae47a1f687249954b88d6f8b to your computer and use it in GitHub Desktop.
Save mattmccarty/c4fadabdae47a1f687249954b88d6f8b to your computer and use it in GitHub Desktop.
Git - Timestamp for Merge/Commit
git rev-list --format=format:'%ci' --max-count=1 `git rev-parse {commit-id}`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment