Check the remote branch first
- git branch -r
Use the following two commands to delete the remote branch
- git branch -r -d origin/branch-name
- git push origin :branch-name
Check the remote branch first
Use the following two commands to delete the remote branch