Created
September 17, 2021 14:13
-
-
Save andru255/87883eb800bf772fe940b9249600f75b to your computer and use it in GitHub Desktop.
Reset a file from a hash
This file contains 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 <commit hash> file | |
// source: https://stackoverflow.com/questions/215718/how-can-i-reset-or-revert-a-file-to-a-specific-revision |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment