I want to see file trees without cloning all remote files. Is it possible using git commands?
git version 2.21.0
My current commands are below:
- mkdir my-repo && cd my-repo
- git init
- git remote add origin https://remote-repo-url
- git fetch
- git checkout origin/master -- '*.html'
How can I get only .html files as fast as I can? My repo is really huge. I need only .html files.