See who last changed a specific line in a Git repo [duplicate]

那年仲夏 提交于 2019-12-02 11:43:28

问题


I have use git blame and git log file.py to find changes, but is there a way to see the changes on a specific line on a file? For example: Line 84 on file index.html.


回答1:


Very simple:

git blame -L 84,84 index.html


来源:https://stackoverflow.com/questions/19352303/see-who-last-changed-a-specific-line-in-a-git-repo

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!