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

Subfolders don't work on bitbucket #371

Open
paleite opened this issue Jun 7, 2024 · 0 comments
Open

Subfolders don't work on bitbucket #371

paleite opened this issue Jun 7, 2024 · 0 comments

Comments

@paleite
Copy link

paleite commented Jun 7, 2024

degit is unable to use subfolders on bitbucket, but it works on github. I've tried this with multiple syntaxes, but couldn't get it to work.

To reproduce

Clone a bitbucket repo with a subfolder:

degit https://bitbucket.org/cxcompany/public-examples/src/master/transaction-webhook-azure-functions webhook-example
degit https://bitbucket.org/cxcompany/public-examples/transaction-webhook-azure-functions webhook-example
degit bitbucket:cxcompany/public-examples/transaction-webhook-azure-functions webhook-example

Expected

The folder webhook-example should contain the files, or degit should throw an error if it doesn't exist.

Actual

The output says:

> cloned cxcompany/public-examples#HEAD to webhook-example

The folder webhook-example is created, but it is empty.

Note

On Github, however, degit works as expected:

degit saltyshiomix/nextron/examples/with-tailwindcss nextron-with-tailwind
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

1 participant