git log --all --full-history -- <path-to-file>(要查询的文件路径,例如: git log --all --full-history -- src/pages/laboratory/Device.vue)