Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Example of using "git checkout" with path. For oembed use on
# 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