Hacking at the Joint

Tuesday, 3 June 2014

How to find the Most Recent Commit to a File in Git

As pointed out here, it is pretty simple to find the most recent commit to a particular file in Git:

git log -n 1 -- example/file
Posted by Matt Coffey at 06:18 No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

About Me

My photo
Matt Coffey
View my complete profile

Blog Archive

  • ►  2015 (3)
    • ►  May (1)
    • ►  April (1)
    • ►  March (1)
  • ▼  2014 (5)
    • ►  August (1)
    • ▼  June (1)
      • How to find the Most Recent Commit to a File in Git
    • ►  May (3)
Simple theme. Powered by Blogger.