Sometimes, people think you didn't work at your git project. But - you can prove yourself with
git shortlog -n. Now, the problem is you are a programmer and programmers are lazy. So you want to write a program which shows the person who committed at most.
You may not do the following things:
git shortlogwith the argument
use any alias, which calls git on any way
You may assume the following:
git is installed on the system
You are in the working directory of the repository where to find out the person
The output of
git shortlog -nwill be piped in your program, but you may also call the command in your program, even though I can't see the advantage.
If there is a language-specific package or library for git, you may use it.
Your program has to output the name of the person with the most commits in the repo.
This is a code-golf challenge, so the program with the least amount of bytes wins!