Created
March 20, 2016 17:24
-
-
Save sonalkr132/73e6fac6b551ea6f7c5a to your computer and use it in GitHub Desktop.
Count number of line on github repo
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
#!/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