Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not all submodules are out of 'Detached HEAD' state #131

Closed
rajames opened this issue Mar 22, 2021 · 2 comments
Closed

Not all submodules are out of 'Detached HEAD' state #131

rajames opened this issue Mar 22, 2021 · 2 comments

Comments

@rajames
Copy link
Contributor

rajames commented Mar 22, 2021

Description of the issue:

Following the instructions in the README to get the submodules out of detached
state results in that sdk/apps submodule is still in detached state.

How to reproduce:

$ git clone --recursive https://github.com/sonydevworld/spresense.git
$ git submodule foreach git checkout master

As result:

$ git submodule foreach git checkout master
Entering 'externals/nnablart/nnabla-c-runtime'
Already on 'master'
Your branch is up to date with 'origin/master'.
Entering 'nuttx'
Already on 'master'
Your branch is up to date with 'origin/master'.
Entering 'sdk/apps'
error: pathspec 'master' did not match any file(s) known to git
fatal: run_command returned non-zero status for sdk/apps

The problem:

sdk/apps submodule has no branch master rather new-master.

Describe your hardware setup:

Software version used:

@kamtom480
Copy link
Contributor

Hi @rajames

Please skip this command and try again:
$ git submodule foreach git checkout master

In the new SDK running this command is not needed. I will update the README. Thanks for finding this.

@rajames
Copy link
Contributor Author

rajames commented Mar 23, 2021

@kamtom480 you're welcome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants