FunctionRacerProblemsRace

Commits per Author

HardGita shell script

Several people have committed to this repository. Print one line per author: the name, a space, and the number of commits by that author on this branch. The busiest author comes first, and authors with the same number go in alphabetical order.

Example 1

starts as
* 1f10502 (HEAD -> main) four
* 99c5f41 three
* d29d817 two
* 548d593 one
nothing to commit
prints
ada 2
ben 1
cy 1

Constraints

Race itor take your time

Write it in your browser, against the clock. The model script, with a note on each command it uses, comes after.

More Git problems