Git: Show all of the various changes to a single line in a specified file over the entire git history

前端 未结 5 1067
暖寄归人
暖寄归人 2020-12-22 23:30

I\'ve looked around, and am not sure if this is possible, but here goes:

I have a (javascript) file (say /lib/client.js) in which I have a unique identifier assigned

5条回答
  •  天涯浪人
    2020-12-22 23:53

    In magit, you can do this with

    l, =L
    

    It will then ask you for file and start,end lines.

提交回复
热议问题