History in GitHub website doesn't show commits done from root.
Is there a way to find commits done from root?
Thanks!
如果root
是提交的作者,则可以使用--author
标志:
git log --author root
If by root you mean a branch named root, then you can go into the command line and type in:
git log | grep -B 2 'root'
This will return all of the commits done by root , and the commit hash.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.