可否在本地端list git仓库里面的文件
曾经蜡笔没有小新
曾经蜡笔没有小新 2017-05-02 09:45:52
0
1
603

git clone https://github.com/someone/st... /tmp/sth
ls /tmp/sth
将git仓库里面的东西全部拉取回来,再ls 文件。
可否不clone回来,直接在本地端list git仓库里面的文件?

曾经蜡笔没有小新
曾经蜡笔没有小新

reply all(1)
刘奇

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

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template