merge and delete branch code example
Example 1: merge and delete branch
git merge source-branch && git branch -d source-branch
Example 2: cmd delete branch
git branch -d yourBranch # delete local branch
git push origin --delete yourBranch # delete branch on repo/push change