You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When checking out a project with "mbed-tools deploy", the [remote "origin"] section in the config file of the git project checked out is limiting the fetch specification for remote branches.
lefebvresam
changed the title
mbed-tools deploy is limiting the fetch specification
mbed-tools deploy is limiting the git fetch specification
Dec 25, 2023
There is another issue where the CLI2 "mbed-tools deploy". The repo is not checked out fully. I have seen that the history is not complete if you compare with a native GIT clone.
Description of defect
When checking out a project with "mbed-tools deploy", the [remote "origin"] section in the config file of the git project checked out is limiting the fetch specification for remote branches.
cat .git/config [remote "origin"] section shows
should be:
If you then do "git fetch" you will be able to see the remote branches with "git branch -a".
Resolve temporary with:
git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*"
Target(s) affected by this defect ?
The command "mbed-tools deploy"
Toolchain(s) (name and version) displaying this defect ?
Using docker session:
docker run -it --privileged --mount=type=bind,source="$(pwd)",destination=/var/mbed -w /var/mbed -v /dev/disk/by-id:/dev/disk/by-id -v /dev/serial/by-id:/dev/serial/by-id -v /run/udev:/run/udev:ro ghcr.io/armmbed/mbed-os-env:master-latest
What version of Mbed-os are you using (tag or sha) ?
Mbed 1.10.5
What version(s) of tools are you using. List all that apply (E.g. mbed-cli)
CLI 2
How is this defect reproduced ?
Clone a GIT project containing remote branches with CLI 2 command "mbed-tools deploy" from source *.lib.
The text was updated successfully, but these errors were encountered: