Commits per Author
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
- 3 to 12 commits by 2 to 4 authors
- A name is one word
Write it in your browser, against the clock. The model script, with a note on each command it uses, comes after.
More Git problems
- Find and PickHard
- Get Them BackHard
- On Top of MainHard
- Split the CommitHard
- The First Bad CommitHard
- Three Into OneHard
- Undo the MergeHard
- When Was It AddedHard