git显示两次提交之间对函数的修改
要显示函数修改历史记录,我可以使用git显示两次提交之间对函数的修改,git,function,methods,history,Git,Function,Methods,History,要显示函数修改历史记录,我可以使用git log-L:functionName:filePath 但它将显示函数的所有修改历史,这可能太长了 如何在两个特定提交之间修改函数?我从git log commit1..commit2-L:functionName:filePath中得到一个解决方案
git log-L:functionName:filePath
但它将显示函数的所有修改历史,这可能太长了
如何在两个特定提交之间修改函数?我从git log commit1..commit2-L:functionName:filePath中得到一个解决方案