Answers for "whats the command to delete a branch in github"

8

github delete branch

// delete branch locally
git branch -d localBranchName

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

delete branch from github mcd

$ git branch -d branch_name
$ git branch -D branch_name
Posted by: Guest on January-30-2021

Code answers related to "whats the command to delete a branch in github"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language