Skip to content

Instantly share code, notes, and snippets.

@Niraj-Fonseka
Created June 3, 2018 19:08
Show Gist options
  • Save Niraj-Fonseka/faa33ea990b13c1987413700d37f19d7 to your computer and use it in GitHub Desktop.
Save Niraj-Fonseka/faa33ea990b13c1987413700d37f19d7 to your computer and use it in GitHub Desktop.
Counting Number of lines in a Git Repo
#!/bin/bash
git ls-files | xargs wc -l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment