JZTXT
  • 首页
  • Ai
  • Java
  • Python
  • Android
  • Mysql
  • JavaScript
  • Html
  • CSS

git branch 显示当前分支名

发布时间 2023-08-19 10:12:44作者: 悟透

一、显示本地分支

git branch

image


二、显示当前所在分支

某些时候,我们只想显示,当前分支名

git branch  --show-current

image





参考、来源:
https://git-scm.com/docs/git-branch/zh_HANS-CN



    本栏目推荐文章
  • linux 安装最新版本git
  • git bash报错fatal: detected dubious ownership in repository at的解决方法
  • git commit规范
  • Git提交规范
  • 如何把已有项目上传到git
  • 一段shell代码可用于git部署代码到服务器的操作
  • openEuler欧拉设置git pull免密
  • git常用命令
  • 安装篇 —— git
  • Conditional Git Configuration 有条件配置Git信息
版权声明:本网站为非赢利性站点,本网站所有内容均来源于互联网相关站点自动搜索采集信息,相关链接已经注明来源。
联系我们