Skip to content

Conversation

@chrisijoyah
Copy link

This PR fixes the issue with importing repositories from branches that are not the default.

Changes

  • Extracts the branch name from the URL fragment and passes it to the isomorphic-git clone operation.
  • Ensures the base repository URL is used for authentication and clone operations.
  • Improves reliability when importing repositories from non-default branches.

These updates make it possible to clone and work with any branch, not just the default, and improve authentication handling.

@timmillwood
Copy link

Looks good.
Nice simply but impactful fix.

@Stijnus Stijnus merged commit 8a68560 into stackblitz-labs:main Sep 5, 2025
15 checks passed
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

Successfully merging this pull request may close these issues.

3 participants