git中将指定文件恢复到指定版本

{{ time }}

示例指令如下

 git checkout 3f7a61ec77abba9cd2256bc089fd74ff8cb27d40 index.html