Answers for "how to remove a branch in local git"

32

delete branch git

//delete locally
git branch -d branch_name

//delete remotely
//git push <remote_name> :<branch_name>
// ex. git push origin :serverfix
Posted by: Guest on May-25-2020
2

how to delete branch locally

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

delete local and remote branch github

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

Code answers related to "how to remove a branch in local git"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language