1. Fork the Repo
1.1 fork the Repo to your own.
1.2 Clone it from your own.
1 | git clone https://github.com/yukiii-zhong/lighthouse.git |
2. Filtering Collaborator’s Commits
2.1 Group By Commit Author
a. common
1 | git shortlog |
b. only see number of commits
1 | git shortlog -s -n |
-s
–> just show the number of commits
-n
–> sort them numerically
c. only show specific author commits
1 | git shortlog --author=Paul |
2.2 Filter Commits By Search
1 | git log --grep=bug |
if you were to run git log --grep "fort"
, then Git will display only the commits that have the character f
followed by the character o
followed by r
followed by t
.