git log -- filename # 注意 -- 后面有个空格 # 或者 git log --pretty=oneline filename
git show 999e31080f96c29d84e11a82e87bfa175976fe0e README.md
Git:查看某个文件的修改历史
原文:https://www.cnblogs.com/shiwanghualuo/p/12112931.html