git显示两次提交之间函数的修改

问题描述 投票:0回答:1

要显示功能修改历史记录,我可以使用git log -L :functionName:filePath

但是它将显示该函数的所有修改历史记录,可能太过冗长。

如何在两个特定的提交之间修改功能?

git function methods history
1个回答
0
投票

[我用Advanced Git loggit log commit1..commit2 -L :functionName:filePath中得到一个解决方案

© www.soinside.com 2019 - 2024. All rights reserved.