Git Fetch Pro simplifies the process of downloading specific subfolders from any Public GitHub repository and provides a CLI tool for advanced usage.
- Easy Subfolder Download: Download any subfolder from a GitHub repository by simply pasting the repository folder URL.
- Copy cURL Command: Copy the generated cURL command and execute it in your terminal to download the folder directly to your desired location.
- User-Friendly Interface: Clean and intuitive design makes it easy for anyone to use.
- Quick Access: No need to clone the entire repository—get only what you need.
- CLI Tool: Use the
npx
package or install globally to download specific folders directly from the terminal.
- Visit Git Fetch Pro.
- Paste the GitHub repository URL. For example:
https://github.com/useplunk/plunk/tree/main/packages/api
. - Click the "Fetch" button.
- Choose to either download the subfolder directly or copy the cURL command for terminal execution.
You can use GitFetchPro in two ways:
Run GitFetchPro directly without installing it:
npx gitfetchpro <url> [options]
To install the package globally using npm:
npm install -g gitfetchpro
<url>
: GitHub URL of the folder you want to clone.
-o, --output <directory>
: Specify the output directory. Defaults to the current working directory.
gitfetchpro https://github.com/YugBhanushali/git-fetch-pro/tree/main/client -o ./downloaded-folder
Or using npx
:
npx gitfetchpro https://github.com/YugBhanushali/git-fetch-pro/tree/main/client -o ./downloaded-folder
This command will clone the src
folder from the specified GitHub repository into the downloaded-folder
directory.
To download the api
folder from the repository https://github.com/useplunk/plunk/tree/main/packages/api
, simply paste this URL into Git Fetch Pro or use the CLI tool as demonstrated above.
Feel free to contribute to this project! Check out the Git Fetch Pro repository for more details.
Git Fetch Pro is not affiliated with or sponsored by GitHub.