Git - Delete multiple remote branches Delete all remote branches matching hotfix git branch -r | grep hotfix | sed 's/origin\///' | xargs -I {} git push origin :{}