Last active
August 29, 2015 14:16
-
-
Save vinaysshenoy/7d6ed97010c9ee48add6 to your computer and use it in GitHub Desktop.
Checkout file from older commit
This file contains hidden or 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 checkout sha1 -- path/to/file.txt | |
git checkout 'master@{7 days ago}' -- path/to/file.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment