git merge delete branch code example
Example 1: merge and delete branch
git merge source-branch && git branch -d source-branch
Example 2: delete merge branch git
git branch -r --merged | grep -v master | sed 's/origin\//:/' | xargs -n 1 git push origin