【问题标题】:Error in git trying clone a repo with a dot at the endgit 尝试克隆最后一个点的 repo 时出错
【发布时间】:2021-09-16 23:41:33
【问题描述】:

$ git clone https://github.com/LautaroMoreira01/tps_laboratorio_ii..git 致命:无法创建工作树目录 'tps_laboratorio_ii.':参数无效

当我尝试克隆该存储库或路径末尾带有句点的其他存储库时,我收到一个任何其他存储库都不会发生的错误。 我尝试从 bash 或 gui 和 github 桌面克隆。

error

【问题讨论】:

  • 你在 Windows 上吗?
  • github.com/msysgit/msysgit/issues/317 这看起来像是 Windows 问题?
  • Windows 中的点可能很特殊。您最好重命名存储库以删除点。
  • 我阅读了这个问题,是的,也许我必须更改 repo 名称。谢谢!

标签: git github


【解决方案1】:

重命名存储库或克隆到不同的目录:

git clone https://github.com/LautaroMoreira01/tps_laboratorio_ii..git tps_laboratorio_ii # <- No dot at the end

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-08-07
    • 1970-01-01
    • 1970-01-01
    • 2014-02-14
    • 1970-01-01
    相关资源
    最近更新 更多