DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
reset a file to last commit git
git checkout <hash> -- file1/to/restore file2/to/restore
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#reset
#file
#commit
#git
ADD COMMENT
Topic
COMMENT
Name
4+6 =
Submit