Created
May 19, 2016 18:03
-
-
Save antonmry/7be57a95306fc448fd9769fed8a0a571 to your computer and use it in GitHub Desktop.
Delete one label from the issues already done in one 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
ghi list -L LABELTOBEDELETED -s closed -- YOURORGANIZATION/YOURREPO | sed -n '/^[ 0-9 ]/p' | sed -r 's/([^0-9]*([0-9]*)){1}.*/\2/' | xargs -I %issue sh -c 'ghi label "%issue" -d "LABELTOBEDELETED" -- YOURORGANIZATION/YOURREPO' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment