Created
October 22, 2015 13:48
-
-
Save sundeepgupta/68231a9527c48ef6dcd4 to your computer and use it in GitHub Desktop.
Loop over bash output list.
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
git branch -r | grep origin/release $1 | while read b; do t=${b:7}; git tag $t $b; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment