git clone https://github.com/someone/st... /tmp/sthls /tmp/sth将git仓库里面的东西全部拉取回来,再ls 文件。可否不clone回来,直接在本地端list git仓库里面的文件?
I searched for this Browse and display files in a git repo without cloningIf 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
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