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
# define the branches to ignore | |
ignoredBranches="master\|staging\|production\|HEAD" | |
# run from master | |
git checkout master | |
# update list of remotes | |
git fetch | |
git remote prune origin |