【问题标题】:git bundle not moving 'git tag' informationgit bundle 不移动“git tag”信息
【发布时间】:2021-06-15 04:55:28
【问题描述】:

我有一个带有标签名称 v3 和 v4 的远程仓库

$git tag

v3

v4

我为这个远程仓库创建了一个包。

git bundle create repo.bundle --all 

使用捆绑信息更新本地存储库时...

git pull 'path_to_bundle' branch_name_in_bundle

$git tag

没有!显示

v3

v4

如何将标签信息传递到本地仓库?

我试过git bundle create repo.bundle --branches --tags

没有成功

【问题讨论】:

  • 试试git pull --tags + 捆绑包位置等等。
  • @Lasse A++++++++++++++++++++谢谢!!!

标签: git tags git-bundle


【解决方案1】:
git fetch --tags 'path_to_bundle'

【讨论】:

    猜你喜欢
    • 2018-08-08
    • 1970-01-01
    • 2023-02-12
    • 1970-01-01
    • 1970-01-01
    • 2021-03-02
    • 1970-01-01
    • 2014-03-23
    • 1970-01-01
    相关资源
    最近更新 更多