![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Clone a subdirectory from a GitHub repository easily using npx.
clone-dir
is a command-line tool that allows you to clone a specific subdirectory from a GitHub repository without cloning the entire repo. It uses Git's sparse checkout feature to efficiently download only the files you need.
You don't need to install this package globally. You can run it directly using npx:
npx clone-dir <github-url> <target-dir>
To use clone-dir
, run the following command:
npx clone-dir <github-url> <target-dir>
Replace <github-url>
with the URL of the GitHub subdirectory you want to clone, and <target-dir>
with the local directory where you want to clone the files.
To clone the examples/expo-router
subdirectory from the nativewind/nativewind
repository:
npx clone-dir https://github.com/nativewind/nativewind/tree/main/examples/expo-router my-expo-router-example
This will clone only the examples/expo-router
subdirectory and its contents into the my-expo-router-example
directory.
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
FAQs
Clone a subdirectory from a GitHub repository
The npm package clone-dir receives a total of 1 weekly downloads. As such, clone-dir popularity was classified as not popular.
We found that clone-dir demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.