This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] 无法克隆 git 项目

Guru**** 2563960 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/960187/unable-to-clone-git-project

器件型号:RM57L843

您好!

我无法从git.ti.com/.../SafetyMCU_Bootloaders'克隆 git 演示项目

我正在使用以下命令克隆存储库、但收到错误消息"访问被拒绝"。

此致、

Shantanu S.

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

     根据 https://git.ti.com/cgit/hercules_examples/hercules_examples/上摘要选项卡上的"克隆" 、您必须在更高的目录级别进行克隆。

    例如、以下工作方式:

    $ git 克隆 git://git.ti.com/hercules_examples/hercules_examples.git
    克隆到'Hercules 示例'...
    远程:计数对象:4409,完成。
    远程:压缩对象:100%(1339/1339),完成。
    远程:总共4409 (增量2983)、重用4337 (增量2913)
    接收对象:100%(4409/4409)、61.36 MIB | 4.62 MIB/s、完成。
    解析增量:100%(2983/2983)、完成。 

    这会导致 SafetyMCU_bootloader 位于克隆存储库的子目录中:

    $ ls Hercules _examples/bootloader /SafetyMCU_bootloader /
    clean_all.bat HALCoGen readme.txt RM46Lx 源 TMS570LS07x
    文档 包含 RM42Lx RM48Lx TMS570LC43x TMS570LS12x
    F021_Flash_API make_all.bat RM44Lx RM57Lx TMS570LS04x TMS570LS31x 

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    谢谢、这解决了我的问题。