Git: Delete a remote branch
A short, tested Git example for delete a remote branch. Copy it and adjust the names and paths for your project.
Git
git push origin --delete feature/old
git fetch --prune # forget deleted remote branchesFind it in Zest
Search for “git delete a remote branch” in Zest and this example appears above the results, with other matches to choose from. Searches stay private.