## git log -p a.js 查看 `a.js` 文件的每一个详细的历史修改,如果没有 `-p` 选项,则只显示提交记录,不显示文件内容修改。 如 `git log -p -3 a.js` 显示最近的3次提交。