gpt4 book ai didi

git - 查看谁最后更改了 Git 存储库中的特定行

转载 作者:行者123 更新时间:2023-12-02 15:35:00 25 4
gpt4 key购买 nike

我已经使用 git blamegit log file.py 来查找更改,但是有没有办法查看文件中特定行的更改?例如:文件 index.html 的第 84 行。

最佳答案

非常简单:

git blame -L 84,84 index.html

关于git - 查看谁最后更改了 Git 存储库中的特定行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19352303/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com