Linux 下 在 Github 上下载指定文件夹或者文件
linux-dash
A beautiful web dashboard for Linux
项目地址:https://gitcode.com/gh_mirrors/li/linux-dash

·
下载文件
推荐 Octotree 这款 Chrome 浏览器的插件。
可以非常方便的浏览分支,如下图。
但是美中不足的是好像不支持文件夹的下载。
下载文件夹
- 我们需要 svn 工具
sudo apt install subversion
- 进入想要进入如下路径下载该文件夹
https://github.com/eproffitt/android_kernel_alcatel_megane/tree/master/mediatek/custom/common/hal/imgsensor/hm5065_yuv
可以看到这个文件夹的路径,中有字段
“/tree/master/”,将其换成 “/trunk/”
然后, 在终端输入:
svn checkout "https://github.com/eproffitt/android_kernel_alcatel_megane/trunk/mediatek/custom/common/hal/imgsensor/hm5065_yuv"
- 第一次使用的话, 可能会出现下面这个提示:
R)eject, accept (t)emporarily or accept (p)ermanently?
输入 P 就行了.




A beautiful web dashboard for Linux
最近提交(Master分支:19 天前 )
186a802e
added ecosystem file for PM2 5 年前
5def40a3
Add host customization support for the NodeJS version 5 年前
更多推荐
所有评论(0)