<refname>@{<date>}, e.g. master@{yesterday}, HEAD@{5 minutes ago}
A ref followed by the suffix @ with a date specification enclosed in a brace pair (e.g. {yesterday}, {1 month 2 weeks 3 days 1 hour 1 second ago} or {1979-02-26 18:30:00}) specifies the value of the ref at a prior point in time.
您可以调整这个ruby script,它调用
git diff stat
来获得这些统计信息。在对于python,有“^{} ”
查看^{} SPECIFYING REVISIONS 查看如何使用日期:
您可以将这些
^{pr2}$git diff
或git log
命令与“Finding most changed files in git”结合使用:相关问题 更多 >
编程相关推荐