I need to determine the number commits
of my users in the repo.
Something like:
git log --commit por usuario.
pepe 23 commits.
juan 20 commit
I need to determine the number commits
of my users in the repo.
Something like:
git log --commit por usuario.
pepe 23 commits.
juan 20 commit
To know the numbers of
commits
and which messages were added in thecommits
, the following instruction must be carried out:If you want to see those
commits
of each of the repo users, you must do this:To know the list of
commits
facts for a particular user (called git-user) you must execute:git log --author="usuario-git" --pretty=oneline
That will give you a list like the following:
3598e4cfcc9474595e84c2991554275f8eadcc10 Add achivement and response 1ee573ee78221ac73d08fa3d0572dfedbcbd9466 Add Assessment section 22282ac459e54a70e723d3b3da058d7a8ba8a552 Enhance of style of the doc
Where each
commit
made by this user will be reflected with a single line .If what you want is
commits
the user 's number , you can add| wc -l
, (called pipeping) and you should get something like the following:git log --author="usuario-git" --pretty=oneline | wc -l
And that will give you the number
commit
of that specific user.On the other hand, in github you can list the
commit
facts by a particular user, as follows:https://github.com/usuario-git/proyecto-git/commits/master?author=usuario-git
I hope it is useful.