git remote show origin | grep {pattern} | awk '{print $1}' | xargs git push origin -d
Created
November 20, 2019 03:57
-
-
Save khanhtran3005/c7213f00ad9a1abd132a5cddf91942bc to your computer and use it in GitHub Desktop.
Delete remote branches from local
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment