Created
March 24, 2014 23:01
-
-
Save eddiemoya/9751187 to your computer and use it in GitHub Desktop.
Example of using "git checkout" with path. For oembed use on http://eddiemoya.com
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
# Recreate the file at path/to/file in the state in the state it was at | |
# just prior to having been deleted (made up commit hash for example) | |
git checkout 4efa6b0^ -- path/to/file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment