ESP8266_RTOS_SDK更新子模組出錯git remote: [session-f0448081] 404 not found!
阿新 • • 發佈:2022-03-02
報錯:git remote: [session-f0448081] 404 not found!
在.git資料夾中的config檔案中找到子模組的地址,用瀏覽器打開發現確實沒有對應的子模組倉庫,這個時候只需要把地址gitee.com換成github.com就行了,
最終的替換結果如下:
[core] repositoryformatversion = 0 filemode = false bare = false logallrefupdates = true symlinks = false ignorecase = true [remote "origin"] url = https://gitee.com/EspressifSystems/ESP8266_RTOS_SDK.git fetch = +refs/heads/*:refs/remotes/origin/* [branch "master"] remote = origin merge = refs/heads/master [submodule "components/json/cJSON"] active = true url = https://gitee.com/DaveGamble/cJSON.git [submodule "components/lwip/lwip"] active = true url = https://github.com/espressif/esp-lwip.git [submodule "components/coap/libcoap"] active = true url = https://github.com/obgm/libcoap.git [submodule "components/mbedtls/mbedtls"] active = true url = https://github.com/espressif/mbedtls.git [submodule "components/mqtt/esp-mqtt"] active = true url = https://github.com/espressif/esp-mqtt.git