Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can we download a specific folder from a gitlab repository using curl or wget?

I know how to download a file from a gitlab repo and I didn't find anything on downloading a directory. I need to download only a directory.

like image 289
Ashwani Avatar asked Sep 17 '25 08:09

Ashwani


1 Answers

I have not used curl or wget but you can use sparse checkout to get the similar thing done.

This should solve your problem. :)

like image 68
Sunny Sharma Avatar answered Sep 19 '25 21:09

Sunny Sharma