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

Degit a github subfolder without removing the /tree/main #370

Open
noam-honig opened this issue Apr 22, 2024 · 2 comments
Open

Degit a github subfolder without removing the /tree/main #370

noam-honig opened this issue Apr 22, 2024 · 2 comments

Comments

@noam-honig
Copy link

Hi,
Love this tool.

I find myself in many cases where I want to degit a subfolder and just copy from the url and do it:
npx degit https://github.com/TanStack/table/tree/main/examples/react/filters

But I have to remove the /tree/main for it to work

Is there a quick workaround, or a flag for that?

@worlpaker
Copy link

I had a similar problem @noam-honig. That's another reason why I've developed gitty.

After installation, it would work with:

gitty https://github.com/TanStack/table/tree/main/examples/react/filters

@noam-honig
Copy link
Author

I had a similar problem @noam-honig. That's another reason why I've developed gitty.

After installation, it would work with:

gitty https://github.com/TanStack/table/tree/main/examples/react/filters

Thanks for that - but for me, I enjoy the zero install npx path

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