deleting a branch after your done working on it code example Example: git delete branch start with git branch -d $(git branch | grep yourSearchPattern)