1
如果我做的:混帳:顯示提交的完整的日誌(或差異),它修改給定文件
git log --stat -p -- my/file
我得到的每一個承諾,其修改my/file
名單,但只顯示文件列表和DIFF (分別爲--stat
和-p
)關於my/file
,因此隱藏完整的提交更新日誌。
如何顯示提交列表的完整日誌(修改文件和完全差異)?
如果我做的:混帳:顯示提交的完整的日誌(或差異),它修改給定文件
git log --stat -p -- my/file
我得到的每一個承諾,其修改my/file
名單,但只顯示文件列表和DIFF (分別爲--stat
和-p
)關於my/file
,因此隱藏完整的提交更新日誌。
如何顯示提交列表的完整日誌(修改文件和完全差異)?
你是否在尋找:
--full-diff
Without this flag, "git log -p <path>..." shows commits that touch
the specified paths, and diffs about the same specified paths. With
this, the full diff is shown for commits that touch the specified
paths; this means that "<path>..." limits only commits, and doesn't
limit diff for those commits.
?