git branch -d feature/branch-nameHowever, this only deletes this specific feature branch locally on your machine, and it does not remove the one sits on the server. To delete the feature branch on the remote server, the syntax is a bit odd, but you will get used to it:
git push origin :feature/branch-nameThat is, you still use “push” command, even though you are deleting it. And this command works with the “branch -d” command independently, so you need to run those two commands to remove both local and remote branches.