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

nav_repos not supporting main branch #163

Open
sammbetts opened this issue Oct 16, 2024 · 1 comment
Open

nav_repos not supporting main branch #163

sammbetts opened this issue Oct 16, 2024 · 1 comment
Labels
question Further information is requested

Comments

@sammbetts
Copy link

I am getting the following error fatal: Remote branch master not found in upstream origin when using nav_repos - my head branch is main not master as will be the case with all newer repos - is there any way to set this? If I add tree/main to the end of the import_url it tells me that the repo can't be found.

Many thanks!

@jdoiro3
Copy link
Owner

jdoiro3 commented Oct 16, 2024

Have you tried setting branch for the import_url?

nav_repos:
        - name: pydantic
          import_url: https://github.com/samuelcolvin/pydantic?branch=main

@jdoiro3 jdoiro3 added the question Further information is requested label Oct 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants