Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git reset a single file to previous commit

git checkout c5f567 -- file1/to/restore file2/to/restore
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #git #reset #single #file #previous #commit
ADD COMMENT
Topic
Name
2+5 =