Wednesday, October 2, 2013

Git See Older Version of File

Here's a quick way to see the older version of a file in Git:

git show HEAD~4:pathto/file

Where "4" represents the number of versions to go back in HEAD.

See the following references for more details and variations:

No comments:

Post a Comment