gpt4 book ai didi

Git - 致命的 : Branch name doesn't conform to GIT standards

转载 作者:太空狗 更新时间:2023-10-29 12:48:17 25 4
gpt4 key购买 nike

我正在尝试使用 cvs2git 将 CVS 存储库迁移到 Git。不幸的是,我的 cvs 仓库有许多带有正则表达式的分支。在执行 git fast import(unix) 时,它报告以下错误

fatal: Branch name doesn't conform to GIT standards: refs/tags/Release21_3_4_0_0_3_7_10[3_8_4_3]
fast-import: dumping crash report to .git/fast_import_crash_27083

我试图删除这些标签,但没有成功。我认为这是整个历史。我也无法单独导入 HEAD。

我该如何解决?

最佳答案

您可以了解更多here .这就是 git 验证您的分支名称是否为有效名称的方式。

问题是 [] 字符。尝试使用这些名称在本地创建分支,您将看到错误。

Here是关于做什么和如何做的详细帖子。

Git try to create branch with the given name

您必须重命名标签才能将它们放入 git。

关于Git - 致命的 : Branch name doesn't conform to GIT standards,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28064477/

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