标签:checkout git commit
git log 文件路径 查看文件commit id
git reset commit_id 文件路径
git checkout -- 文件路径
git 恢复某个文件到指定版本
原文地址:http://anbaojia.blog.51cto.com/9494280/1760486