Skip to content

Instantly share code, notes, and snippets.

@MattDietz
Created March 20, 2013 17:10
Show Gist options
  • Save MattDietz/5206455 to your computer and use it in GitHub Desktop.
Save MattDietz/5206455 to your computer and use it in GitHub Desktop.
Git sloc alias
sloc = "!f() { git ls-files | xargs -i git blame \\{\\} | egrep -o \"\\(.* \" | cut -f1-2 -d\" \" | sort | uniq -c; }; f"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment