Answers for "remove a branch in git"

3

delete branch git

// delete branch locally
git branch -D localBranchName

// delete branch remotely
git push
Posted by: Guest on August-12-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
2

how to delete branch locally

$ git branch -d <local-branch>
Posted by: Guest on December-04-2020
0

git delete branch local and remote

$ git branch -D <local-branch>
Posted by: Guest on June-11-2021
-1

delete local and remote branch github

git branch -d branch_namegit branch -D branch_name
Posted by: Guest on May-26-2020
0

git delete branch

git push <remote> :<branch>
Posted by: Guest on June-07-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language