-
-
Save anees042/4b2cdb9bb919933bcf10d91461706ffe to your computer and use it in GitHub Desktop.
Generate report of all commits across all branches in a repository
This file contains hidden or 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 REMOTE_BRANCH in $(git branch -r | grep origin); do echo "$REMOTE_BRANCH"; git log $REMOTE_BRANCH --format='%ci|%an|%s' | grep -F -x -v -f ../"${PWD##*/}".csv >> ../"${PWD##*/}".csv; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment