Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Get the folder structure of the remote git repository

I want to fetch the folder structure of a remote git repo of huge size (Unreal Engine), so fetching and then analyzing is not a solution. Is there any built-in mechanism or any way to use remote git repo data to do it? I know that I can crawl GitHub and build the folder structure that way, but it seems clumsy and slow.

I looked at the git docs, but didn’t find any useful commands or even closely related stuff.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

if you have access to Unreal Engine repo, you can use a GitHub Codespace and then run git ls-files and you will find a directory listing.

here’s one for a repo I have in a codespace.

codespace

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading