扫码关注官方订阅号
git clone https://github.com/someone/st... /tmp/sthls /tmp/sth将git仓库里面的东西全部拉取回来,再ls 文件。可否不clone回来,直接在本地端list git仓库里面的文件?
搜索到这个 Browse and display files in a git repo without cloning如果你是拿 github 的话可以,github 的库支持 svn
svn ls -R https://github.com/yangg/dot2val/branches/master/
或者这个回答用的 github api,要先拿 commit,略麻烦了点
微信扫码关注PHP中文网服务号
QQ扫码加入技术交流群
扫描下载App
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
PHP学习
技术支持
返回顶部
搜索到这个 Browse and display files in a git repo without cloning
如果你是拿 github 的话可以,github 的库支持 svn
或者这个回答用的 github api,要先拿 commit,略麻烦了点