Guest User

Untitled

a guest
Dec 11th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. #/bin/sh
  2.  
  3. tags=`git branch -r | grep "origin/feature" | sed -e "s/ origin\///g"`
  4. if [ -n "${tags}" ]; then
  5. for t in "${tags}"
  6. do
  7. echo git push --delete origin ${t}
  8. git push --delete origin ${t}
  9. done
  10. else
  11. echo "notice: no remote feature branches"
  12. fi
Add Comment
Please, Sign In to add comment