查看谁最后更改了Git存储库中的特定行 [英] See who last changed a specific line in a Git repo
本文介绍了查看谁最后更改了Git存储库中的特定行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经使用git blame
和git log file.py
查找更改,但是有没有办法查看文件特定行上的更改?例如:文件index.html上的第84行.
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.
推荐答案
非常简单:
git blame -L 84,84 index.html
这篇关于查看谁最后更改了Git存储库中的特定行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文