Created
June 14, 2023 08:13
-
-
Save xav/6b404ce96142dc218891d80873ad1af0 to your computer and use it in GitHub Desktop.
List branch activity for git repository
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
for i in `git branch -a |grep remotes |awk '{print $1}' | cut -d"/" -f 3,4,5 |grep -v ^master$ |grep -v ^main$ |grep -v ^HEAD$`; do echo "$i;`git log -1 --pretty=format:\"%an (%ae);%at\" origin/$i`"; done |sort > branches.csv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment