git branch -r | sed -r 's/origin\///g' | xargs -I {} git push origin :{}
Created
February 10, 2022 11:24
-
-
Save barseghyanartur/27a2020337968e66a33543b5d4ba4a91 to your computer and use it in GitHub Desktop.
Git remove all remote branches
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment