Answers for "how to delete remote branches"

167

delete branch from remote

// delete branch locally
git branch -d localBranchName

//delete local branch that is unmerged
git branch -D localBranchName

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

remove old remote branches git

git remote prune origin
Posted by: Guest on October-22-2020

Code answers related to "how to delete remote branches"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language