ลบแบรนซ์อยู่ใน git
// delete branch locally
git branch -d localBranchName
// delete branch remotely
git push origin --delete remoteBranchName
ลบระยะไกล git
# The example will remove the github remote.
# Note that the command will not delete the repository,
# just the local reference.
git remote rm origin
github ลบแบรนซ์ทางไกล
$ git push -d <remote_name> <branch_name>
$ git branch -d <branch_name>
ยังไงจะลบ git ทางไกลต้นกำเนิด
git remote remove origin
ลบท้องถิ่นและทางไกลแบรนซ์ github
$ git push <remote_name> :<branch_name>