git-extras is a collection of Git utilities. Git effort shows the list of files or folders sorted by the number of changes in these files or folders.
- Install git-extras:
Note If you’re not on macOS, check the installation instructions.
- Run the command in your repository or in its subfolder:
--above 1
option limits the output only to entries with more than one change, otherwise it’s too large;
*
is a glob pattern to group changes by folder instead of showing each files separately.
After running the command we’ll see two tables — the first is sorted alphabetically, and the second is sorted by the number of changes:
path commits active days
src/ContainerHeader.................... 2 2
src/ContainerSection................... 2 2
src/DesktopHeader...................... 2 2
...
path commits active days
src/Icons2............................. 10 8
src/Time............................... 5 4
src/PhoneNumberInput................... 4 4
...