Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Ground Controller Lvl 1
Message 11 of 17

Re: How can I download a specific folder from a GitHub repo?

I think the point when you do

git remote add origin -f url

everything is downloaded.

 

Highlighted
Copilot Lvl 2
Message 12 of 17

Is it possible to download only one folder from a remote Git repo?

I have a specific folder from a remote Git repo that I've hosted on GitHub. How can I download only that one specific folder?

Highlighted
Copilot Lvl 3
Message 13 of 17

Re: How can I download a specific folder from a GitHub repo?

@nadiajoyce Well this question is different mine is different, I want to download a specific folder locally not on a remote Git repo I think you misunderstood my question please check it once again.I totally understand that in order to maintain forum organized you have close my question but I request you to open again since my question is different from above question.

Highlighted
Community Manager
Message 14 of 17

Re: How can I download a specific folder from a GitHub repo?

If you look at the solution, it directly answers your question. The new topic you opened isn't necessary and it is correct that people should be directed here.

Highlighted
Copilot Lvl 2
Message 15 of 17

Re: How can I download a specific folder from a GitHub repo?

You can try github-files-fetcher, it is a command line tool which downloads a single folder or file from a GitHub repo.

 

Think a real scenario: you were visiting the following webpage page and wanna download the `async` subdirectory alone.

Selection_021.png

 

With The `github-files-fetcher`, you should first copy the `url` of that page, which is https://github.com/reduxjs/redux/tree/master/examples/async, and then run the command below in command line:

 

fetcher --url=https://github.com/reduxjs/redux/tree/master/examples/async

 

Highlighted
Ground Controller Lvl 2
Message 16 of 17

Re: How can I download a specific folder from a GitHub repo?

For GitHub repos, you can clone any sub-directories of any GitHub repository (at any reference) using https://github.com/HR/github-clone

Highlighted
Ground Controller Lvl 1
Message 17 of 17

Re: How can I download a specific folder from a GitHub repo?

Github just need to implement 

 

https://minhaskamal.github.io/DownGit/#/home

 

It is just one button!