Created
March 7, 2020 19:00
-
-
Save rowlando/2225ac95317b84d04913b9c28595a333 to your computer and use it in GitHub Desktop.
Count Lines of Code in GitHub Repo
This file contains 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
#!/usr/bin/env bash | |
git clone --depth 1 "$1" temp-linecount-repo && | |
printf "('temp-linecount-repo' will be deleted automatically)\n\n\n" && | |
cloc temp-linecount-repo && | |
rm -rf temp-linecount-repo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment