Git Goodies

A couple days ago I had to gather some information from a git repository, so I'm sharing this small scripts with you. List of all authors on a git repo:
git log --pretty=short | grep Author: | awk '{print $2}' | sort | uniq
List all modified files since a revision:
git-whatchanged revision.. --pretty=oneline | grep '^:' | awk '{print $6}' | sort | uniq

By Jorge Dias on

comments powered by Disqus