Created
April 10, 2018 06:04
-
-
Save hetang/09897881079943e98df714b4041569a2 to your computer and use it in GitHub Desktop.
Get List of Git Branches & its owner Info.
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
git fetch --prune | |
for branch in $(git branch -r --no-merged origin/staging | sed s/origin\\///g | grep -v HEAD); do | |
printf "%-32s %s\n" "$(git show -s --format=%an origin/$branch)" $branch; | |
done | sort |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment