smazat místní pobočku
// 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
Odstraňte větev Git v místní a vzdálené
git push <remote_name> --delete <branch_name>
odebrat větev místní git
$ git branch -d branch_name
$ git branch -D branch_name
Jak odstranit místní / vzdálené větve Git
$ git branch -a
# *master
# b1
# remote/origin/master
# remote/origin/b1
$ git push origin --delete b1
# [...]
# - [deleted] b1