【问题标题】:git show modification of a function between two commitsgit 显示两次提交之间函数的修改
【发布时间】:2019-10-16 00:23:06
【问题描述】:

要显示函数修改历史,我可以使用git log -L :functionName:filePath。

但它会显示函数的所有修改历史,可能太长了。

如何才能在两次特定提交之间修改函数?

【问题讨论】:

    标签: git function methods history


    【解决方案1】:

    我从Advanced Git log 和git log commit1..commit2 -L :functionName:filePath 得到一个解决方案

    【讨论】:

      猜你喜欢
      • 2011-03-09
      • 1970-01-01
      • 2012-06-06
      • 2011-02-01
      • 2019-12-07
      • 2016-09-29
      • 2017-08-29
      相关资源
      最近更新 更多