Skip to content

Instantly share code, notes, and snippets.

@modulexcite
Forked from mandiwise/Count lines in Git repo
Created September 16, 2019 14:34
Show Gist options
  • Save modulexcite/346c8b6ce7b71833a36631c73979d169 to your computer and use it in GitHub Desktop.
Save modulexcite/346c8b6ce7b71833a36631c73979d169 to your computer and use it in GitHub Desktop.

Revisions

  1. @mandiwise mandiwise revised this gist Jan 6, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Count lines in Git repo
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,3 @@
    // Reference: http://stackoverflow.com/questions/4822471/count-number-of-lines-in-a-git-repository

    # git ls-files | xargs wc -l
    $ git ls-files | xargs wc -l
  2. @mandiwise mandiwise created this gist Jan 6, 2015.
    3 changes: 3 additions & 0 deletions Count lines in Git repo
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    // Reference: http://stackoverflow.com/questions/4822471/count-number-of-lines-in-a-git-repository

    # git ls-files | xargs wc -l