Delete Local Branch
Run this git command to delete local branch
git branch -d <branch>
git branch -D <branch> (forcefully delete local branch)
Delete Remote Branch
Run this git command to delete remote branch
git push origin –delete branchname
Run this git command to delete local branch
git branch -d <branch>
git branch -D <branch> (forcefully delete local branch)
Run this git command to delete remote branch
git push origin –delete branchname