它不是重复的(几乎;因为stackoverflow不允许)精确的标题
Git Pull - 一切都是最新的,但它不是
我缺少两个标签(Linux内核v3.9-rc4和v3.9-rc5)以及它们带来的变化.我尝试了太多的命令,用完了灰色单元格.
git reset
git reset --hard
git checkout HEAD
git pull
git fsck
git reset --hard HEAD
Run Code Online (Sandbox Code Playgroud)
问:我的ISP是否可能搞砸了他们的缓存(因为他们已经这样做了)并导致所有这些?
mpo*_*llo 19
我想你想要的git fetch --tags.从git-fetch手册页:
-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).
Run Code Online (Sandbox Code Playgroud)
如果这不起作用,请发布输出git fetch --tags --verbose.
| 归档时间: |
|
| 查看次数: |
4737 次 |
| 最近记录: |