Last active
July 12, 2021 10:04
-
-
Save kapziel/53d62a12eefab81dddbaf7fd0182017c to your computer and use it in GitHub Desktop.
Count lines of code (SQL) in git 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
// https://www.limilabs.com/blog/source-lines-of-code-count-using-powershell | |
(dir -include *.sql -recurse | select-string "^(\s*)//" -notMatch | select-string "^(\s*)$" -notMatch).Count |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment