Can you list the files in the git repository locally?
曾经蜡笔没有小新2017-05-02 09:45:52
0
1
624
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?
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
Or this answer uses the github api. You have to commit it first, which is a little troublesome