raspberrypi / pico-vscode

The official VS Code extension for Raspberry Pi Pico development. It includes several features to simplify project creation and deployment.
https://marketplace.visualstudio.com/items?itemName=raspberry-pi.raspberry-pi-pico
Mozilla Public License 2.0
129 stars 16 forks source link

FIX #73, cd command need '/d' option on Windows (cmd.exe). #74

Closed pxysource closed 2 months ago

pxysource commented 2 months ago

When using cmd.exe on Windows, if you need to switch to a different drive path ("c:\" to "d:\"), you need to use the '/d' option.

Otherwise, the following command could fails to execute:

  1. cd path && git submodule update --init.
  2. cd path && git rev-parse HEAD.
  3. cd path && git sparse-checkout set --cone.
  4. cd path && git sparse-checkout add.
will-v-pi commented 2 months ago

Thanks for this PR - I've tested it and it works fine, so I'll merge it