Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #/bin/sh
- tags=`git branch -r | grep "origin/feature" | sed -e "s/ origin\///g"`
- if [ -n "${tags}" ]; then
- for t in "${tags}"
- do
- echo git push --delete origin ${t}
- git push --delete origin ${t}
- done
- else
- echo "notice: no remote feature branches"
- fi
Add Comment
Please, Sign In to add comment