Skip to content

Instantly share code, notes, and snippets.

@tammymakesthings
Created March 20, 2022 14:08
Show Gist options
  • Save tammymakesthings/2d30d9951e172b8a579497a01f19dcb5 to your computer and use it in GitHub Desktop.
Save tammymakesthings/2d30d9951e172b8a579497a01f19dcb5 to your computer and use it in GitHub Desktop.
# This update will fail because the commits we need aren't the latest on the
# branch. We can ignore that though because we fix it with the second command.
# (Only works for git servers that allow sha fetches.)
git submodule update --init -N --depth 1 || true
fatal: reference is not a tree: 5d01882c41dbc4115bc94f0b61c093d5a6b812b6
fatal: reference is not a tree: baab505fd4dcc54d8e9d45e6463c68bdc6d100eb
fatal: reference is not a tree: beec03065712cd62f79e839d5cf8f7c9847fc3b1
fatal: reference is not a tree: 859a7d403e4e79ec1c8915c81ba581dbaab8a4ac
fatal: reference is not a tree: a8abc3aa8dece6c4d0152b001dfca7d2c279f899
fatal: reference is not a tree: b04042addd47c2645e139032b02a3b9ddeeb3425
fatal: reference is not a tree: 938f6bb335ba5e4c56a8062c591ff9f3c18c4297
fatal: reference is not a tree: 8e7e111a9ff39d3f4311caa7babeb451422c759f
fatal: reference is not a tree: df2449815433e05ea0f89c19518ccde7a10a2faa
fatal: reference is not a tree: 708bb0c82c7b075bd6912c97231aea880b1a1cb8
fatal: reference is not a tree: 0bd04a235556979bd13a373821a6602445fe132b
fatal: reference is not a tree: eb6124fdff59b98d7d49dd86072df99c0e97167b
fatal: reference is not a tree: 13775b058422085762874fde8e587f2e9f066855
fatal: reference is not a tree: f6cdec74b64112016c459abe4a5d31a3b34caeb3
fatal: reference is not a tree: bccbe3da75f42b540b3faebb9d5a2d1ccf5e7147
fatal: reference is not a tree: 2fddabcaf0df1763111ed9dbf9e2d4cdb5b0434e
fatal: reference is not a tree: 29816fbe98c012ea0a1b5cae7f07aeae7ebf8b52
fatal: reference is not a tree: acc4bdd73fdceb74d75cd5a1f261ae157ee32613
fatal: reference is not a tree: 75e9ec62e4fe47a7212a69fb84aa1cfa7848e2b3
fatal: reference is not a tree: 6641509ef43b672a82addf41f02b6466d6c67f01
fatal: reference is not a tree: fd478fda7adbd254282b8cad5000f06a96760c91
fatal: reference is not a tree: a115fc30df1c230c09c8a533ca77f3a4afd9f6c3
fatal: reference is not a tree: 77ba8eedf89b96c85a6194e5da2061c9d5c20242
fatal: reference is not a tree: 011acd627fc24342c397fc640b204a798f7b69dd
fatal: reference is not a tree: c58defd70947531c5a9c37ddcb569f240567a78b
fatal: reference is not a tree: 742ac7c8fb52bb85d9fd367b60a7f80475d7ed14
fatal: reference is not a tree: 49ab415d6b601c99979262f9e91c21dcb3a927a7
fatal: reference is not a tree: 9dd51fecfcbb15cb2a00eeadbd66b36ce0c09ee2
fatal: reference is not a tree: 79c70a49285be8b6548de3f5ca20aa5ac1fafa22
fatal: reference is not a tree: 272d225365eed46916390cf1f393dd08bc00b7d4
fatal: reference is not a tree: fad0f89e760829a76f553ef8459f61001597a846
fatal: reference is not a tree: e86f258e43591ce4a04661277e77e9fdf6fec27e
fatal: reference is not a tree: c89c8689161e5b35bfe4fa8355615696e03f0648
fatal: reference is not a tree: 3bdd335452ff14a53d1e840de043e3159cb3b829
fatal: reference is not a tree: 531cab9c278c947d268bd4c94ecab9153a961b43
fatal: reference is not a tree: 35aaec4418ad78628a3b935885dd189d41ce779b
fatal: reference is not a tree: e9de7e35f2339598b16cbb375f9992643ed81209
fatal: reference is not a tree: 7a5de1ad777e95b0f4fab7bbd35678c7d319b1b5
fatal: reference is not a tree: 9e7dfb28a5c6f3d7a19340971b32e0c2b4128ecf
fatal: reference is not a tree: d0a07e14adcd71a7c22bcceb16c55aadb5e0d104
fatal: reference is not a tree: 73896a3b71c525a3ee4cefa7e35ce3b3a93786ef
fatal: reference is not a tree: 84f56af13292d8f32c40acbd949bde698ddd4507
fatal: reference is not a tree: b6859a349efb79e2008d6f6a34e406e93a8e19c0
fatal: reference is not a tree: d3b20192cf94fdea68a412596e082108ba5ebbf0
fatal: reference is not a tree: bf96d0eda5952595d717fedb797aeb168483e9fa
fatal: reference is not a tree: 08370086080759ed54ac1136d62d2ad24c6fa267
fatal: reference is not a tree: 6a148be8497704d4afb5d14c175a12a592813fac
fatal: reference is not a tree: 121ddb87e5130314e4fcc5e9cb260a81b7d30d36
fatal: reference is not a tree: 8363ff7bed7533b9e7e6a6239aace3d6da14f349
fatal: reference is not a tree: 3f55e49eb11e6db0da1da09e189bb094222702c9
fatal: reference is not a tree: 0b521765067ac87b142cd96b5f578ffb399090cc
fatal: reference is not a tree: 6fe2c1f498feda34ee422720ff8b3bd1b4656145
fatal: reference is not a tree: 4daf765de5c5956df1bb27139e624b5deba270c9
fatal: reference is not a tree: f5e3a1d5e71e6b9278a6d580b7d5ca82c0debd9b
fatal: reference is not a tree: 79307a2f629b5959e67656564a8436e0a21e93d0
fatal: reference is not a tree: fccac44e1859e1ad1a38353b46c9ed7587bdb4be
fatal: reference is not a tree: cc54dd7a903220618b0487970b087f4e34973d1d
fatal: reference is not a tree: 58a240b30676cb51ee0e09347c6b55a9fc4f7140
fatal: reference is not a tree: 36ae43958161cff572db2f88378e81895ec3a337
fatal: reference is not a tree: 2bfa1cae79926af47ff79a48757d29a38c9c8978
fatal: reference is not a tree: 919c1714f0e605c96e312675d8a14c421881d2ec
fatal: reference is not a tree: 4f89168f731596308eae3770a63518413f34cf3d
fatal: reference is not a tree: 6f52a7ca0838967cc57e9a44d76c6e1f60e62842
fatal: reference is not a tree: f879b24c5fcf759be3ecbd2ef6c5302b2acc8d28
fatal: reference is not a tree: 62dd78abdd0b823824fe15d1bab0611246145c23
fatal: reference is not a tree: 2001c62d1a0361c44acc7076d8ce91e1d1c66141
fatal: reference is not a tree: 1421ca7fe72a2b173b08be05f9042b79409e783a
fatal: reference is not a tree: 2eaa6114b209fe7f0a795eda8d6a7b3b93d76d2e
fatal: Unable to checkout '5d01882c41dbc4115bc94f0b61c093d5a6b812b6' in submodule path 'extmod/ulab'
fatal: Unable to checkout 'baab505fd4dcc54d8e9d45e6463c68bdc6d100eb' in submodule path 'frozen/Adafruit_CircuitPython_APDS9960'
fatal: Unable to checkout 'beec03065712cd62f79e839d5cf8f7c9847fc3b1' in submodule path 'frozen/Adafruit_CircuitPython_BLE'
fatal: Unable to checkout '859a7d403e4e79ec1c8915c81ba581dbaab8a4ac' in submodule path 'frozen/Adafruit_CircuitPython_BLE_Apple_Notification_Center'
fatal: Unable to checkout 'a8abc3aa8dece6c4d0152b001dfca7d2c279f899' in submodule path 'frozen/Adafruit_CircuitPython_BusDevice'
fatal: Unable to checkout 'b04042addd47c2645e139032b02a3b9ddeeb3425' in submodule path 'frozen/Adafruit_CircuitPython_CircuitPlayground'
fatal: Unable to checkout '938f6bb335ba5e4c56a8062c591ff9f3c18c4297' in submodule path 'frozen/Adafruit_CircuitPython_Crickit'
fatal: Unable to checkout '8e7e111a9ff39d3f4311caa7babeb451422c759f' in submodule path 'frozen/Adafruit_CircuitPython_DRV2605'
fatal: Unable to checkout 'df2449815433e05ea0f89c19518ccde7a10a2faa' in submodule path 'frozen/Adafruit_CircuitPython_DS3231'
fatal: Unable to checkout '708bb0c82c7b075bd6912c97231aea880b1a1cb8' in submodule path 'frozen/Adafruit_CircuitPython_Display_Shapes'
fatal: Unable to checkout '0bd04a235556979bd13a373821a6602445fe132b' in submodule path 'frozen/Adafruit_CircuitPython_Display_Text'
fatal: Unable to checkout 'eb6124fdff59b98d7d49dd86072df99c0e97167b' in submodule path 'frozen/Adafruit_CircuitPython_DotStar'
fatal: Unable to checkout '13775b058422085762874fde8e587f2e9f066855' in submodule path 'frozen/Adafruit_CircuitPython_ESP32SPI'
fatal: Unable to checkout 'f6cdec74b64112016c459abe4a5d31a3b34caeb3' in submodule path 'frozen/Adafruit_CircuitPython_FakeRequests'
fatal: Unable to checkout 'bccbe3da75f42b540b3faebb9d5a2d1ccf5e7147' in submodule path 'frozen/Adafruit_CircuitPython_FocalTouch'
fatal: Unable to checkout '2fddabcaf0df1763111ed9dbf9e2d4cdb5b0434e' in submodule path 'frozen/Adafruit_CircuitPython_HID'
fatal: Unable to checkout '29816fbe98c012ea0a1b5cae7f07aeae7ebf8b52' in submodule path 'frozen/Adafruit_CircuitPython_LC709203F'
fatal: Unable to checkout 'acc4bdd73fdceb74d75cd5a1f261ae157ee32613' in submodule path 'frozen/Adafruit_CircuitPython_LIS3DH'
fatal: Unable to checkout '75e9ec62e4fe47a7212a69fb84aa1cfa7848e2b3' in submodule path 'frozen/Adafruit_CircuitPython_LSM6DS'
fatal: Unable to checkout '6641509ef43b672a82addf41f02b6466d6c67f01' in submodule path 'frozen/Adafruit_CircuitPython_MIDI'
fatal: Unable to checkout 'fd478fda7adbd254282b8cad5000f06a96760c91' in submodule path 'frozen/Adafruit_CircuitPython_Motor'
fatal: Unable to checkout 'a115fc30df1c230c09c8a533ca77f3a4afd9f6c3' in submodule path 'frozen/Adafruit_CircuitPython_NeoPixel'
fatal: Unable to checkout '77ba8eedf89b96c85a6194e5da2061c9d5c20242' in submodule path 'frozen/Adafruit_CircuitPython_PortalBase'
fatal: Unable to checkout '011acd627fc24342c397fc640b204a798f7b69dd' in submodule path 'frozen/Adafruit_CircuitPython_ProgressBar'
fatal: Unable to checkout 'c58defd70947531c5a9c37ddcb569f240567a78b' in submodule path 'frozen/Adafruit_CircuitPython_RFM69'
fatal: Unable to checkout '742ac7c8fb52bb85d9fd367b60a7f80475d7ed14' in submodule path 'frozen/Adafruit_CircuitPython_RFM9x'
fatal: Unable to checkout '49ab415d6b601c99979262f9e91c21dcb3a927a7' in submodule path 'frozen/Adafruit_CircuitPython_Register'
fatal: Unable to checkout '9dd51fecfcbb15cb2a00eeadbd66b36ce0c09ee2' in submodule path 'frozen/Adafruit_CircuitPython_SD'
fatal: Unable to checkout '79c70a49285be8b6548de3f5ca20aa5ac1fafa22' in submodule path 'frozen/Adafruit_CircuitPython_ST7789'
fatal: Unable to checkout '272d225365eed46916390cf1f393dd08bc00b7d4' in submodule path 'frozen/Adafruit_CircuitPython_SimpleIO'
fatal: Unable to checkout 'fad0f89e760829a76f553ef8459f61001597a846' in submodule path 'frozen/Adafruit_CircuitPython_SimpleMath'
fatal: Unable to checkout 'e86f258e43591ce4a04661277e77e9fdf6fec27e' in submodule path 'frozen/Adafruit_CircuitPython_Thermistor'
fatal: Unable to checkout 'c89c8689161e5b35bfe4fa8355615696e03f0648' in submodule path 'frozen/Adafruit_CircuitPython_seesaw'
fatal: Unable to checkout '3bdd335452ff14a53d1e840de043e3159cb3b829' in submodule path 'frozen/circuitpython-stage'
fatal: Unable to checkout '531cab9c278c947d268bd4c94ecab9153a961b43' in submodule path 'lib/axtls'
fatal: Unable to checkout '35aaec4418ad78628a3b935885dd189d41ce779b' in submodule path 'lib/berkeley-db-1.xx'
fatal: Unable to checkout 'e9de7e35f2339598b16cbb375f9992643ed81209' in submodule path 'lib/libffi'
fatal: Unable to checkout '7a5de1ad777e95b0f4fab7bbd35678c7d319b1b5' in submodule path 'lib/mp3'
fatal: Unable to checkout '9e7dfb28a5c6f3d7a19340971b32e0c2b4128ecf' in submodule path 'lib/nrfutil'
fatal: Unable to checkout 'd0a07e14adcd71a7c22bcceb16c55aadb5e0d104' in submodule path 'lib/protomatter'
fatal: Unable to checkout '73896a3b71c525a3ee4cefa7e35ce3b3a93786ef' in submodule path 'lib/tinyusb'
fatal: Unable to checkout '84f56af13292d8f32c40acbd949bde698ddd4507' in submodule path 'ports/atmel-samd/asf4'
fatal: Unable to checkout 'b6859a349efb79e2008d6f6a34e406e93a8e19c0' in submodule path 'ports/atmel-samd/freetouch'
fatal: Unable to checkout 'd3b20192cf94fdea68a412596e082108ba5ebbf0' in submodule path 'ports/atmel-samd/peripherals'
fatal: Unable to checkout 'bf96d0eda5952595d717fedb797aeb168483e9fa' in submodule path 'ports/broadcom/firmware'
fatal: Unable to checkout '08370086080759ed54ac1136d62d2ad24c6fa267' in submodule path 'ports/broadcom/peripherals'
fatal: Unable to checkout '6a148be8497704d4afb5d14c175a12a592813fac' in submodule path 'ports/cxd56/spresense-exported-sdk'
fatal: Unable to checkout '121ddb87e5130314e4fcc5e9cb260a81b7d30d36' in submodule path 'ports/espressif/esp-idf'
fatal: Unable to checkout '8363ff7bed7533b9e7e6a6239aace3d6da14f349' in submodule path 'ports/mimxrt10xx/sdk'
fatal: Unable to checkout '3f55e49eb11e6db0da1da09e189bb094222702c9' in submodule path 'ports/nrf/nrfx'
fatal: Unable to checkout '0b521765067ac87b142cd96b5f578ffb399090cc' in submodule path 'ports/stm/st_driver/CMSIS_5'
fatal: Unable to checkout '6fe2c1f498feda34ee422720ff8b3bd1b4656145' in submodule path 'ports/stm/st_driver/cmsis_device_f4'
fatal: Unable to checkout '4daf765de5c5956df1bb27139e624b5deba270c9' in submodule path 'ports/stm/st_driver/cmsis_device_g0'
fatal: Unable to checkout 'f5e3a1d5e71e6b9278a6d580b7d5ca82c0debd9b' in submodule path 'ports/stm/st_driver/cmsis_device_h7'
fatal: Unable to checkout '79307a2f629b5959e67656564a8436e0a21e93d0' in submodule path 'ports/stm/st_driver/stm32f0xx_hal_driver'
fatal: Unable to checkout 'fccac44e1859e1ad1a38353b46c9ed7587bdb4be' in submodule path 'ports/stm/st_driver/stm32f1xx_hal_driver'
fatal: Unable to checkout 'cc54dd7a903220618b0487970b087f4e34973d1d' in submodule path 'ports/stm/st_driver/stm32f2xx_hal_driver'
fatal: Unable to checkout '58a240b30676cb51ee0e09347c6b55a9fc4f7140' in submodule path 'ports/stm/st_driver/stm32f3xx_hal_driver'
fatal: Unable to checkout '36ae43958161cff572db2f88378e81895ec3a337' in submodule path 'ports/stm/st_driver/stm32g0xx_hal_driver'
fatal: Unable to checkout '2bfa1cae79926af47ff79a48757d29a38c9c8978' in submodule path 'ports/stm/st_driver/stm32h7xx_hal_driver'
fatal: Unable to checkout '919c1714f0e605c96e312675d8a14c421881d2ec' in submodule path 'ports/stm/st_driver/stm32l1xx_hal_driver'
fatal: Unable to checkout '4f89168f731596308eae3770a63518413f34cf3d' in submodule path 'ports/stm/st_driver/stm32l5xx_hal_driver'
fatal: Unable to checkout '6f52a7ca0838967cc57e9a44d76c6e1f60e62842' in submodule path 'tools/Tecate-bitmap-fonts'
fatal: Unable to checkout 'f879b24c5fcf759be3ecbd2ef6c5302b2acc8d28' in submodule path 'tools/adabot'
fatal: Unable to checkout '62dd78abdd0b823824fe15d1bab0611246145c23' in submodule path 'tools/bitmap_font'
fatal: Unable to checkout '2001c62d1a0361c44acc7076d8ce91e1d1c66141' in submodule path 'tools/python-semver'
fatal: Unable to checkout '1421ca7fe72a2b173b08be05f9042b79409e783a' in submodule path 'tools/uf2'
fatal: Unable to checkout '2eaa6114b209fe7f0a795eda8d6a7b3b93d76d2e' in submodule path 'tools/usb_descriptor'
git submodule foreach 'git fetch --tags --depth 1 origin $sha1 && git checkout -q $sha1'
Entering 'data/nvm.toml'
fatal: 'origin' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
fatal: run_command returned non-zero status for data/nvm.toml
.
make: *** [fetch-submodules] Error 128
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment