1. git log filename
View submit records
2. git log -p filename
You can show diff of each commit
3. Review the changes in a file in a commit, you can directly add fileName
git show c5e69804bbd9725b5dece57f8cbece4a96b9f80b filename
ref:
https://blog.csdn.net/sea_snow/article/details/91430247: