Answers for "delete some branch"

8

delete branch

// delete branch locally
git branch -d localBranchName

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

How to Delete Git Branch

## Delete Branch Locally
git branch -d localBranchName
## Delete Branch Remotely
git push origin --delete remoteBranchName
Posted by: Guest on July-17-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language