git:分支名称前面的“o”是什么意思?

时间:2021-05-04 16:56:50

when I type git branch -avv I get something like

当我输入git branch -avv时,我会得到类似的东西

git branch -avv
  some/branchname       9ff9335af Some nice description
o release/v3.0
  some/branchname       a12b3hg1f Some description
* release/v3.0          813f74adc Some detailed description
...

So release/v3.0 occurs twice and one prefixed with o. I didn't find anything in the documentation - what does this mean?

因此release / v3.0发生两次,一次以o为前缀。我没有在文档中找到任何内容 - 这是什么意思?

Update:

更新:

My abbreviated listing above is misleading - should be something like

我上面的缩略列表具有误导性 - 应该是类似的

git branch -avv
  some/branchname       9ff9335af merged branch abc/def t
o release/v3.0

.. where you could easily guess what went wrong.. (line break)

..你可以轻松猜出出了什么问题..(换行)

1 个解决方案

#1


3  

This is not git standard behavior. I tracked the git branch command nine years back and neither then nor now was there anything other than ' ' and '*'.

这不是git标准行为。九年前我跟踪了git branch命令,现在和现在都没有''和'*'。

My guess is that this comes from either the previous line or from some other tool that you have installed on top of git branch.

我的猜测是,这来自前一行或者你在git branch上安装的其他工具。

#1


3  

This is not git standard behavior. I tracked the git branch command nine years back and neither then nor now was there anything other than ' ' and '*'.

这不是git标准行为。九年前我跟踪了git branch命令,现在和现在都没有''和'*'。

My guess is that this comes from either the previous line or from some other tool that you have installed on top of git branch.

我的猜测是,这来自前一行或者你在git branch上安装的其他工具。