xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!

git branch All In One

Git Branch Management

https://git-scm.com/book/en/v2/Git-Branching-Branch-Management

git branch API 文档

https://git-scm.com/docs/git-branch

$ git branch

git 删除分支

# 列出所有分支
$ git branch
  dev
  feature-monitor
* feature-tools-test-fix
  feature-tools-test-bug
  master

git 删除本地分支

# 删除分支
$ git branch -d feature-tools-test-bug

# 强制删除分支
$ git branch -D feature-tools-test-bug

refs

https://github.com/xgqfrms/git/issues/27#issuecomment-706530962



©xgqfrms 2012-2020

www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!


原文地址:https://www.cnblogs.com/xgqfrms/p/14187724.html