Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
git blame 可以用来查看当前代码库中单个用户提交的所有行吗?
我能得到的最接近的是
git log -p --author=<author> <filename>
或者
git blame <filename> | grep <authorname>