git 删除分支

  • delete branch locally
git branch -d localBranchName
  • delete branch locally force
git branch -D localBranchName
  • delete branch remotely
git push origin -d remoteBranchName
posted @ 2023-02-28 13:47  艺言弈行  阅读(23)  评论(0编辑  收藏  举报