简体   繁体   English

git diff用于单个文件

[英]git diff for a single file

git log proto.php will lists all commits for proto.php git log proto.php将列出git log proto.php所有提交

Is there a command which will show me not only commit messages for this file but all diffs for all commits? 是否有一条命令不仅可以显示此文件的提交消息,还可以显示所有提交的所有差异的命令? A kind of complete history of diffs for a single file. 一种用于单个文件的比较的完整历史记录。

git log -p proto.php

您可能已经阅读了手册,但我很乐意代表代表。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM