Created
January 21, 2020 08:27
-
-
Save tonicebrian/a09a637183399096fa0a5d3cec4e37cb to your computer and use it in GitHub Desktop.
Find who created the last commit in unattended remote branches
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
for branch in `git branch -r | grep -v HEAD`;do echo -e `git show --format="%ci\t%cr\t%cN" $branch | head -n 1` \\t$branch; done | sort -r |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment