Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git restore file

git restore --source=c5f567 file1/to/restore file2/to/restore # restore files to how they were in the commit with the hash listed in --source
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #git #restore #file
ADD COMMENT
Topic
Name
8+1 =