【发布时间】:2017-08-03 11:21:16
【问题描述】:
我正在使用 svn 存储库,当我运行 git svn fetch 命令时收到错误:
Found possible branch point: https://svn.host.ru/repo/trunk => https://svn.host.ru/repo/branches/branch_name, 13439
Found branch parent: (refs/remotes/origin/branch_name) a081660107eb24a999957a6874bdf4dd53568436
Following parent with do_switch
Successfully followed parent
fatal: update_ref failed for ref 'refs/remotes/origin/branch_name': refusing to update ref with bad name refs/remotes/origin/branch_name
update-ref -m r13440 refs/remotes/origin/branch_name 5858b0838db06456ae1de9395a46d1d3fe3c2017: command returned error: 128
我理解它,因为名称 branch_name 实际上类似于 ~titanbig\-?\d+\.ru - 包含错误符号 - 我该如何解决这个问题?也许有一些选项可以跳过这些糟糕的分支?
【问题讨论】: