Rohit Kumar
Rohit Kumar

Reputation: 1792

Git Pull But Only A Directory Not the Entire Repo

How to Download Only A Particular folder from GitHub.

I have a very slow Internet Connection and I am learning asp.net core.

The Tutorial requires code from this Link ->

https://github.com/aspnet/Docs/tree/master/aspnetcore/fundamentals/logging/index/sample2

So If I make a Git Pull Or Just Download the repo its a huge 800 Mb :(

I just wan't this little part

Upvotes: 1

Views: 47

Answers (1)

VonC
VonC

Reputation: 1323943

Downloading the zip remains the smallest archive you can download, since it does not include the full history of the repo.

And that archive does weight 780MB...

That being said, as described in "Download a single folder or directory from a GitHub repo", check if a service like DownGit can help.

Upvotes: 1

Related Questions