Git-拉后缺少标签 [英] Git - Missing tags after pull
问题描述
它不是(几乎;因为stackoverflow不允许)精确标题的重复项
Git Pull-一切都是最新的,但不是
It is NOT a duplicate of (almost;because stackoverflow wouldn't allow that)exact title
Git Pull - Everything up to date, but it's not
我缺少两个标签(特别是Linux内核v3.9-rc4和v3.9-rc5)及其带来的更改. 我尝试了太多命令,并且用尽了灰色单元格.
I'm missing two tags (Linux kernel v3.9-rc4 and v3.9-rc5 specifically)and the changes that they come with. I have tried too many commands and ran out of gray cells.
git reset
git reset --hard
git checkout HEAD
git pull
git fsck
git reset --hard HEAD
问:我的ISP是否有可能搞乱了它们的缓存(因为这样做了)并导致了所有这一切?
Q:Is it possible that my ISP have messed up with their caching(because they have done so) and cause all this?
推荐答案
我认为您要git fetch --tags
.在git-fetch
手册页上:
I think you want git fetch --tags
. From the git-fetch
manual page:
-t, --tags
Most of the tags are fetched automatically as branch heads are
downloaded, but tags that do not point at objects reachable from
the branch heads that are being tracked will not be fetched by
this mechanism. This flag lets all tags and their associated
objects be downloaded. The default behavior for a remote may be
specified with the remote.<name>.tagopt setting. See git-
config(1).
如果这不起作用,请发布git fetch --tags --verbose
的输出.
If this doesn't work, please post the output of git fetch --tags --verbose
.
这篇关于Git-拉后缺少标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!