Skip to content

Instantly share code, notes, and snippets.

@HarasimowiczKamil
Last active August 18, 2023 04:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save HarasimowiczKamil/3a473d076e2e477d5a774b4cdfa7af7b to your computer and use it in GitHub Desktop.
Save HarasimowiczKamil/3a473d076e2e477d5a774b4cdfa7af7b to your computer and use it in GitHub Desktop.
Repo analitics
# count commits per file (per author add `--author=John`)
git log --name-only --pretty=format: | sort | uniq -c | sort -nr
# "Cyclomatic Complexity"
grep -oic "[\s]*" filename
# Changelog
git tag -l -n9 --sort=-v:refname
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment