Answers for "how to delete a branch in git and make it again"

8

how to delete a branch git

// delete branch locally
git branch -d localBranchName

// delete branch remotely
git push origin --delete remoteBranchName
Posted by: Guest on August-07-2020
0

git delete branch start with

git branch -d $(git branch | grep yourSearchPattern)
Posted by: Guest on March-31-2021

Code answers related to "how to delete a branch in git and make it again"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language