【发布时间】:2015-10-28 00:01:02
【问题描述】:
git log --follow <myfile> 显示一个文件的git log。
我想查看此日志以及此文件中的所有更改(差异)。我试试:
git log --full-diff --follow <myfile>
但这失败了:
fatal: --follow requires exactly one pathspec
为什么?我怎样才能得到我想要的差异?
或者,它是 git 中的一个错误吗?
【问题讨论】: