git odstranit větev
// delete branch locally
git branch -d localBranchName
// delete branch remotely
git push origin --delete remoteBranchName
// refresh branch list
git fetch -p
smazat větev git
// delete branch locally
git branch -D localBranchName
// delete branch remotely
git push
smazat místní a vzdálenou větev GitHub
$ git push <remote_name> :<branch_name>
odebrat větev místní git
$ git push -d <remote_name> <branch_name>
$ git branch -d <branch_name>
smazat větev místní a vzdálený git
// delete branch locally
git branch -d localBranchName
// delete branch remotely
git push origin --delete remoteBranchName