Forking Repo

1. Fork the Repo

1.1 fork the Repo to your own.

image-20180712003555025

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

img

b. only see number of commits

1
$ git shortlog -s -n

-s –> just show the number of commits

-n –> sort them numerically

img

c. only show specific author commits

1
$ git shortlog --author=Paul
1
2
$ git log --grep=bug
$ 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.