Skip to content

Instantly share code, notes, and snippets.

@jhuttner jhuttner/git-who-owns-what
Last active Aug 29, 2015

What would you like to do?
# git-who-owns-what
# Requires: git-remote-authors:
# Print the branches that each user was the last committer for.
# Place this script in your PATH, chmod +x it, and git will allow you to magically do:
# $ git who-owns-what
# Author:
# Last modified: 3 February 2014
"First1 Last1
First2 Last2
First3 Last3"
while read i; do echo --- $i; git remote-authors 1 | grep -B1 "$i" | grep Branch; done < <(echo -e "$names")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.