Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/iphone/37.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
行项目上的Github历史记录_Git_Github - Fatal编程技术网

行项目上的Github历史记录

行项目上的Github历史记录,git,github,Git,Github,我想看看是谁在特定行号上对文件进行了特定更改。例如: 有办法做到这一点吗?目前我这样做的方式是查看每个推送到该文件的代码,有很多要查看。是的,请查看git bull git-blame - Show what revision and author last modified each line of a file 另请参见:谢谢,这很有效:$git dull-L149,+3 file.py。您可以在github中执行此操作,只要单击屏幕截图中的三个点,然后选择查看git dull。或者,您

我想看看是谁在特定行号上对文件进行了特定更改。例如:


有办法做到这一点吗?目前我这样做的方式是查看每个推送到该文件的代码,有很多要查看。

是的,请查看
git bull

git-blame - Show what revision and author last modified each line of a file

另请参见:

谢谢,这很有效:
$git dull-L149,+3 file.py
。您可以在github中执行此操作,只要单击屏幕截图中的三个点,然后选择查看git dull。或者,您的收藏夹IDE中提供了工具。我使用vscode gitlens[它可以帮助您通过Git注释和代码镜头一眼就看到代码作者,@LukeHutton nice!非常方便