Last active
December 2, 2021 20:52
-
-
Save leonardoraele/2c1c20f618a13c1911618dcab285496f to your computer and use it in GitHub Desktop.
Git commands to analyze lines-of-code project stats
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Commit stats history | |
git log --shortstat --pretty=format:"%h %cI \"%an\" %ae %d" | |
// Counts lines of code in the project (note it points to a `./src` directory) | |
git ls-files ./src | xargs wc -l |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment