【问题标题】:When I run make with -git submodule init command I get "Not a git repository "当我使用 -git submodule init 命令运行 make 时,我得到“不是 git 存储库”
【发布时间】:2018-07-13 10:25:34
【问题描述】:

当我运行 make 并且 makefile 尝试执行 -git 子模块 init 命令时,我收到 fatal: Not a git repository (or any of the parent directories): .git

【问题讨论】:

  • 你有更多的细节吗? (操作系统、git 版本、Makefile 内容或项目 URL,我们可以在哪里查看?)

标签: git makefile gnu git-submodules init


【解决方案1】:

我发现了我的方式的错误。我最初下载了存储库,而不是从 linux 终端命令行克隆它。现在我已经通过 git -clone .git 从 linux 终端命令行克隆了它,子模块初始化成功。谢谢大家的考虑。

【讨论】:

    猜你喜欢
    • 2012-04-20
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-01-23
    • 2018-03-25
    相关资源
    最近更新 更多