git clone https://github.com/someone/st... /tmp/sth
ls /tmp/sth
Pull everything back from the git warehouse, and then ls the file.
Is it possible to list the files in the git repository locally without cloning it?
怪我咯2017-05-02 09:47:52
I searched for this Browse and display files in a git repo without cloning
If you use github, you can, the github library supports svn
svn ls -R https://github.com/yangg/dot2val/branches/master/
Or this answer uses the github api. You have to commit it first, which is a little troublesome