Git基本命令

  1. 查看所有分支:git branch -a

  2. 查看当前所在分支:git branch

  3. 删除本地的bug_xzx分支:git branch -d bug_xzx

  4. 删除远程的bug_xzx分支:git push origin --delete bug_xzx

原文地址:https://www.cnblogs.com/it-davidchen/p/12204330.html