{"id":20596658,"url":"https://github.com/suhailroushan13/github-subfolder-cloner","last_synced_at":"2026-02-12T21:32:19.743Z","repository":{"id":107534673,"uuid":"532513344","full_name":"suhailroushan13/GitHub-SubFolder-Cloner","owner":"suhailroushan13","description":"Yes ..Now You Can Clone Subfolders From Any GitHub Repository . You can turn a folder within a Git repository into a brand new repository. ... If you create a new clone of the repository, you won't lose any of your Git history ","archived":false,"fork":false,"pushed_at":"2022-10-27T18:53:33.000Z","size":10,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-26T07:32:06.729Z","etag":null,"topics":["bash","github","shell","shell-script"],"latest_commit_sha":null,"homepage":"https://github.com/suhailroushan13/GitHub-SubFolder-Cloner","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/suhailroushan13.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-09-04T10:58:38.000Z","updated_at":"2022-11-12T23:38:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"fc7540d3-376a-437b-b756-431ac48026f2","html_url":"https://github.com/suhailroushan13/GitHub-SubFolder-Cloner","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/suhailroushan13/GitHub-SubFolder-Cloner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suhailroushan13%2FGitHub-SubFolder-Cloner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suhailroushan13%2FGitHub-SubFolder-Cloner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suhailroushan13%2FGitHub-SubFolder-Cloner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suhailroushan13%2FGitHub-SubFolder-Cloner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/suhailroushan13","download_url":"https://codeload.github.com/suhailroushan13/GitHub-SubFolder-Cloner/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suhailroushan13%2FGitHub-SubFolder-Cloner/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29381773,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T20:34:40.886Z","status":"ssl_error","status_checked_at":"2026-02-12T20:23:00.490Z","response_time":55,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","github","shell","shell-script"],"created_at":"2024-11-16T08:17:56.147Z","updated_at":"2026-02-12T21:32:19.737Z","avatar_url":"https://github.com/suhailroushan13.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub-SubFolder-Cloner 📁⬇️\n![Github licence](http://img.shields.io/badge/license-MIT-blue.svg)\n\n\u003ch2\u003eClone Subfolders From Any GitHub Repository ✅\u003c/h2\u003e\n\n\n## 🧐 About \u003ca name = \"about\"\u003e\u003c/a\u003e\nGitHub-SubFolder-Cloner is a simple bash script that allows you to clone subfolders from any GitHub repository.\n## 🏁 Getting Started \u003ca name = \"getting_started\"\u003e\u003c/a\u003e\n### Prerequisites\nYou need to have \u003cb\u003eUbuntu and GitHub \u003c/b\u003e installed on your system.\n### Installing\n\u003cb\u003eStep 1:\u003c/b\u003e\n```\ngit clone --depth=1 git@github.com:suhailroushan13/GitHub-SubFolder-Cloner.git ~/GitHub-SubFolder-Cloner\ncd ~/GitHub-SubFolder-Cloner\nchmod +x script.sh\nbash script.sh\n```\n\u003cb\u003eStep 2:\u003c/b\u003e\n\n\u003cb\u003ezsh (macOS **10.15**+)\u003c/b\u003e\n```\necho 'alias git-sub=\"bash ~/GitHub-SubFolder-Cloner/script.sh\"' \u003e\u003e ~/.zshrc\nsource ~/.zshrc\n```\n\u003cb\u003e bash (Windows/Linux)\u003c/b\u003e\n```\necho 'alias git-sub=\"bash ~/GitHub-SubFolder-Cloner/script.sh\"' \u003e\u003e ~/.bashrc\nsource ~/.bashrc\n```\n\u003cb\u003eTo know which shell\u003c/b\u003e\n```\necho $SHELL\n```\n\n\n\n## 🎈 Usage \u003ca name=\"usage\"\u003e\u003c/a\u003e\n\u003cb\u003eType the below command from anywhere to run the script.\u003c/b\u003e\n```\ngit-sub\n```\n## ✍️ Authors \u003ca name = \"authors\"\u003e\u003c/a\u003e\n- [@suhailroushan13](https://github.com/suhailroushan13) - Idea \u0026 Initial work\n- [@Abdul535](https://github.com/Abdul535) - Added Custom Folder Name Functionality\nSee also the list of contributors who participated in this project.\n## 🎉 Acknowledgements \u003ca name = \"acknowledgement\"\u003e\u003c/a\u003e\n- Hat tip to anyone whose code was used\n- Inspiration\n- References\n\n\u003ch2 align=\"left\"\u003e 🟢 Visitor Count ++\u003c/h2\u003e\n \u003cimg src=\"https://profile-counter.glitch.me/GitHub-SubFolder-Cloner/count.svg\" /\u003e\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuhailroushan13%2Fgithub-subfolder-cloner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsuhailroushan13%2Fgithub-subfolder-cloner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuhailroushan13%2Fgithub-subfolder-cloner/lists"}