Git - how do I view the change history of a method/function?

后端 未结 7 1489
我寻月下人不归
我寻月下人不归 2020-11-28 19:55

So I found the question about how to view the change history of a file, but the change history of this particular file is huge and I\'m really only interested in the changes

7条回答
  •  甜味超标
    2020-11-28 20:32

    git blame shows you who last changed each line of the file; you can specify the lines to examine so as to avoid getting the history of lines outside your function.

提交回复
热议问题