We can install git self-hosted (like Gitlab, Googs etc) so we can login as admin then mask-"login" as employess. But If we use git cloud we can use git log or git shortlog, gitstats, git-fame etc.
==================================
GIT LOG
==================================
Show commit by author specific date
$ git shortlog -sne --since="01 Feb 2018" --before="01 Mar 2018"
Install:
$ sudo apt update
$ sudo apt install gitstats
Run:
$ gitstats /path/to/project /path/to/result
Example:
$ gitstats /home/en/sdk-chat-android /home/en/Downloads/android
Open index.html at /home/en/Downloads/android/index.html
=================================
GIT-FAME
=================================
Install:
$ pip install --user git-fame
$ cd /path/to/project
$ git-fame
Example:
INFO:gitfame._utils:install `tqdm` (https://github.com/tqdm/tqdm) for a realitme progressbar
Total commits: 90
Total files: 124
Total loc: 12474
INFO:gitfame._utils:install `tqdm` (https://github.com/tqdm/tqdm) for a realitme progressbar
+-----------------+-------+------+------+----------------+
| Author | loc | coms | fils | distribution |
+=================+=======+======+====
| Bondowoso | 10740 | 77 | 104 | 86.1/85.6/83.9 |
| Jonggrang | 1734 | 13 | 20 | 13.9/14.4/16.1 |
+-----------------+-------+------+------+----------------+
==================================
GIT LOG
==================================
Show commit by author specific date
$ git shortlog -sne --since="01 Feb 2018" --before="01 Mar 2018"
Example:
77 Bondowoso <me.woso@gmail.com>
13 Jonggrang <jonggrang@gmail.com>
==================================
GITSTATS
==================================
==================================
GITSTATS
==================================
$ sudo apt update
$ sudo apt install gitstats
Run:
$ gitstats /path/to/project /path/to/result
Example:
$ gitstats /home/en/sdk-chat-android /home/en/Downloads/android
Open index.html at /home/en/Downloads/android/index.html
=================================
GIT-FAME
=================================
Install:
$ pip install --user git-fame
$ cd /path/to/project
$ git-fame
Example:
INFO:gitfame._utils:install `tqdm` (https://github.com/tqdm/tqdm) for a realitme progressbar
Total commits: 90
Total files: 124
Total loc: 12474
INFO:gitfame._utils:install `tqdm` (https://github.com/tqdm/tqdm) for a realitme progressbar
+-----------------+-------+------+------+----------------+
| Author | loc | coms | fils | distribution |
+=================+=======+======+====
| Bondowoso | 10740 | 77 | 104 | 86.1/85.6/83.9 |
| Jonggrang | 1734 | 13 | 20 | 13.9/14.4/16.1 |
+-----------------+-------+------+------+----------------+
Komentar
Posting Komentar