Answers for "how to delete a branch 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
0

github delete branch in terminal

del branch git
Posted by: Guest on July-28-2021
-1

How to Delete Local/Remote Git Branches

$ git branch -a

# *master
# b1
# remote/origin/master
# remote/origin/b1

$ git push origin --delete b1
# [...]
# - [deleted] b1
Posted by: Guest on August-21-2020

Code answers related to "how to delete a branch github"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language