Ali*_*lik 5 git last-modified blame
我有一个项目,源代码是在git的帮助下控制的.
现在我想知道我的队友在特定文件中进行最后编辑的时间.我想找出提交的SHA1或将他的编辑看作差异.
我想我可以使用git log --stat <path/to/file>并查看我的文件被更改的所有提交的列表.
有没有快速的方法呢?
你可以使用带有pathspec和选项的git log--author:
git log --author=your_teammate -- path/to/file
Run Code Online (Sandbox Code Playgroud)