delete local branch after merge code example Example: merge and delete branch git merge source-branch && git branch -d source-branch