Question : How can I reset or revert a file to a specific revision?
Answered by : javier-concha
git reset <commit hash> <filename>
Source : https://stackoverflow.com/questions/215718/how-can-i-reset-or-revert-a-file-to-a-specific-revision | Last Update : Sun, 19 Apr 20
Question : reset certain file git
Answered by : angry-aardvark
git checkout c5f567 -- file1/to/restore file2/to/restore
Source : | Last Update : Tue, 03 Mar 20