git pull - 它会在默认情况下在远程获取标签吗? [英] git pull - will it fetch tags on remote by default?
本文介绍了git pull - 它会在默认情况下在远程获取标签吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我知道 git fetch --tags
会从远程获取所有标签到本地。
我不是肯定会 git pull
默认情况下从远程获取标签,所以会不会?
解决方案 div>
它应该自 git pull
做了 git fetch
和一个 git merge
。
但是它只会从git 1.9.0+开始,正如我在 git fetch --tags
include git fetch
?。
I know git fetch --tags
will fetch all tags from remote to local.
I am not sure will git pull
get tags from remote by default, so will it or not?
解决方案
It should, since git pull
does a git fetch
and a git merge
.
But it will do so only from git 1.9.0+, as I mentioned in "Does "git fetch --tags
" include "git fetch
"?".
这篇关于git pull - 它会在默认情况下在远程获取标签吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文