Q:

delete branch github

// delete branch locally
git branch -d localBranchName

//delete local branch that is unmerged
git branch -D localBranchName

// delete branch remotely
git push origin --delete remoteBranchName
41
git push <remote_name> --delete <branch_name>
13
// delete branch locally
git branch -D localBranchName

// delete branch remotely
git push origin --delete remoteBranchName
1
git remote remove origin
2
git push --delete remoteName branchName
15

New to Communities?

Join the community