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 | |
# Outputs commands to delete local branches that have an | |
# associated merged (really closed) PR. | |
# BIG CAVEAT: This will report branches that have a closed, | |
# but not merged PR for deletion. | |
# Your Github username and the name of the organization you are a part of | |
# If you are using forks, or aren't part of an org. then your GITHUB_ORG |