Question for downloading sub-items of a git repository #2075

Open
opened 2025-11-02 04:23:19 -06:00 by GiteaMirror · 10 comments
Owner

Originally created by @phil-flex on GitHub (Jul 20, 2018).

Description

Gitea is able to download as ZIP file of the whole git repository, what if I just want to download the sub-folder (sub-directory) items of a git repository, is it possible? Screenshot shows the feature I want.

Screenshots

image

Originally created by @phil-flex on GitHub (Jul 20, 2018). ## Description Gitea is able to download as ZIP file of the whole git repository, what if I just want to download the sub-folder (sub-directory) items of a git repository, is it possible? Screenshot shows the feature I want. ## Screenshots <!-- **If this issue involves the Web Interface, please include a screenshot** --> ![image](https://user-images.githubusercontent.com/34325924/42985576-a61f27c8-8c24-11e8-9d84-5320a7875bc6.png)
GiteaMirror added the type/featuretype/proposalissue/confirmed labels 2025-11-02 04:23:19 -06:00
Author
Owner

@stale[bot] commented on GitHub (Jan 17, 2019):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

@stale[bot] commented on GitHub (Jan 17, 2019): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.
Author
Owner

@BorisBrock commented on GitHub (Nov 12, 2019):

This would be a really great feature. I usually work with very large repositories, and often need to download only parts (= sub folders or single files) from it.

@BorisBrock commented on GitHub (Nov 12, 2019): This would be a really great feature. I usually work with very large repositories, and often need to download only parts (= sub folders or single files) from it.
Author
Owner

@mglomba commented on GitHub (Jan 4, 2020):

+1

@mglomba commented on GitHub (Jan 4, 2020): +1
Author
Owner

@wirmachenbunt commented on GitHub (Jun 24, 2020):

+1

@wirmachenbunt commented on GitHub (Jun 24, 2020): +1
Author
Owner

@DevAGCO commented on GitHub (Oct 8, 2021):

+1

@DevAGCO commented on GitHub (Oct 8, 2021): +1
Author
Owner

@Rincewind34 commented on GitHub (Mar 8, 2022):

I would love this feature! Being able to download a sub directory as zip is really the only thing we are missing. It would need to work with LFS though ;)

@Rincewind34 commented on GitHub (Mar 8, 2022): I would love this feature! Being able to download a sub directory as zip is really the only thing we are missing. It would need to work with LFS though ;)
Author
Owner

@ClaudioPreti commented on GitHub (Mar 20, 2023):

Definitely a feature I would like to have. 👍

@ClaudioPreti commented on GitHub (Mar 20, 2023): Definitely a feature I would like to have. 👍
Author
Owner

@callowaysutton commented on GitHub (May 23, 2023):

Would really like this feature 👍🏿

@callowaysutton commented on GitHub (May 23, 2023): Would really like this feature 👍🏿
Author
Owner

@lunny commented on GitHub (May 24, 2023):

At least, git command support that

git archive -o ../subarchive.zip HEAD subdir/*
@lunny commented on GitHub (May 24, 2023): At least, git command support that ``` git archive -o ../subarchive.zip HEAD subdir/* ```
Author
Owner

@Chandler-Kluser commented on GitHub (Sep 11, 2023):

I would appreciate that feature too...

@Chandler-Kluser commented on GitHub (Sep 11, 2023): I would appreciate that feature too...
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#2075