gpt4 book ai didi

git branch 列出上游的分支

转载 作者:行者123 更新时间:2023-12-05 03:10:51 26 4
gpt4 key购买 nike

Git 我有默认的 master 分支和 origin/master。

要列出远程和本地分支,我使用了 git branch -a

List the remote and local branches

下一步当我使用 cmd git branch -vv

enter image description here

当我在蓝色 [origin/master] 框内使用 git branch -vv 时,这是什么意思?

有人能帮帮我吗?

最佳答案

蓝色文本显示与本地分支关联的上游分支。即 origin/mastermaster 的上游分支。

更多信息在这里:https://git-scm.com/book/ch3-5.html

关于git branch 列出上游的分支,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38525102/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com