查找git user添加的所有文件


6

在git中,我如何才能简单地找到特定用户添加到存储库的所有文件?

Answers:


8
git whatchanged --author="author regexp" --diff-filter=A --no-commit-id --name-only

可能有更好的方法。


3

git whatchanged --diff-filter = A --author = AUTHOR --pretty = format:%an | awk'{print $ 6}'

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.