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

Searchfatal: not a git repository: ../../.git/modules/modules/PX4Firmware fatal: could not reset submodule index #5608

Open
skjerr opened this issue Nov 30, 2023 · 5 comments

Comments

@skjerr
Copy link

skjerr commented Nov 30, 2023

Search - Describe the issue/suggestion and improve the title. Please keep a link to the original article if relevant.

@skjerr
Copy link
Author

skjerr commented Nov 30, 2023

fatal: not a git repository: ../../.git/modules/modules/PX4Firmware
fatal: could not reset submodule index

@Hwurzburg
Copy link
Contributor

will need a lot more info on what the issue is...this is not an ArduPilot module

@tbrookin
Copy link

tbrookin commented Jan 2, 2024

+1 on this. Seems like the repo is in a bad state. Repro steps:

  1. Clone the ardupilot repo. (local will be set to master branch)
  2. Try to checkout a subbranch on the local (I used origin\Plane-4.4)

Checkout fails with this git error:

fatal: not a git repository: ../../.git/modules/modules/uavcan
fatal: could not reset submodule index

@Hwurzburg

@Hwurzburg
Copy link
Contributor

Hwurzburg commented Jan 2, 2024

did you clone using the command given in the wiki?

git clone --recurse-submodules https://github.com/your-github-userid/ardupilot

@rmackay9
Copy link
Contributor

rmackay9 commented Jan 3, 2024

I don't think the PX4Firmware module is used anymore so I'm surprised that there are any errors related to this unless a very old version of AP is being used.

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

4 participants