smazat větev v gitu
// delete branch locally
git branch -d localBranchName
// delete branch remotely
git push origin --delete remoteBranchName
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
smazat místní větev git
git branch -d <branch_name>
smazat větev git
//delete locally
git branch -d branch_name
//delete remotely
//git push <remote_name> :<branch_name>
// ex. git push origin :serverfix
smazat místní a vzdálenou větev GitHub
$ git push <remote_name> :<branch_name>
git smazat větev
$ git branch -d <branchname>