如何在Git中找到特定用户的提交? [英] How to find commits by a specific user in Git?
本文介绍了如何在Git中找到特定用户的提交?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我们的项目使用Git作为版本控制系统,最近我需要检查某人的提交。如何查看特定用户提交的列表?
解决方案
git log - 作者=< pattern>
将显示为特定作者过滤的提交日志。 ( - committer
可以用于提交者,如果区分是必要的话)
http://git-scm.com/docs/git-log
Our project uses Git as the version control system and recently I needed to review someone's commits. How can I see a list of commits made by a specific user?
解决方案
git log --author=<pattern>
will show the commit log filtered for a particular author. (--committer
can be used for committer if the distinction is necessary).
http://git-scm.com/docs/git-log
这篇关于如何在Git中找到特定用户的提交?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文