How to find out the general fixation of an employee

I would like to know how many contributions of my co-author. Therefore, I need to know how much code you write yourself and click on github. However, on github, there is also a merge message that will bother me.

Is there a way in github or in git that I can know that the collaborator is actually executing the code in a certain amount of time? (in each branch)

Update Can I see the difference between the non-duplicate commit of this collaborator? i.e. someone else will make a mistake, will also be shown when committing a merge.

+4
source share
3 answers

git shortlog is the tool you are looking for. Using:

 git shortlog -s 

to get a summary of commits from the user.

+5
source

Github really does this for you in the Graphs section of the repository. Both the Participants and Influence tabs include #commits, + lines / -line for all commits not associated with the merge.

Edit: Just realized that you need data for all branches, Github charts apply only to the main branch. I don’t know how to get all the affiliate information from Github.

+3
source

Github now (April 2013) offers a way to visualize the number of commits per collaborator, with the Pulse project (" Get Speed ​​with Pulse ")

Pulse will show you who is actively committing and what has changed in the project's default branch :

Pulse

You can find the link to the left of the navigation bar.

Link

However, this is only for a period of time :

  • 24 hours
  • 3 days
  • 1 Week
  • 1 month

Thus, this is not a way to get co-author activity throughout the life of the project.

0
source

Source: https://habr.com/ru/post/1443692/


All Articles