git delete branches starting with code example Example: git delete branch start with git branch -d $(git branch | grep yourSearchPattern)