type
status
date
slug
summary
tags
category
icon
password

1 写在前面

用过github的小伙伴们都知道,我们可以通过git clone命令来下载整个项目到本地。😘
但我最近在使用github的时候遇到一个问题,就是我想下载这一个文件,其他的我都不想要。🫠
notion image
解决方案大家往下看吧:👇

2 解决方案一(raw)

1️⃣ 首先我们点开这个文件,点击raw。🤜
notion image

2️⃣ 然后我们右键选择另存为,就可以下载啦。😉
notion image

3 解决方案二(GitZip)

1️⃣ 这里我们需要安装一个
谷歌插件
。🥰
notion image

2️⃣ 这个时候你的github上的文件前面就会有个小框框啦。🌈
notion image

3️⃣ 选中你需要下载的文件或者文件夹吧。😁
notion image

4️⃣ 页面的右下角有下载按钮,完美解决!🤟
notion image

🌟 补充!这个插件还有在线网站可用:👇
http://kinolien.github.io/gitzip/
notion image

4 解决方案三(DownGit)

这个方法不需要安装任何插件,登陆以下网站即可:👇
https://minhaskamal.github.io/DownGit/#/home
notion image
在这里输入你需要下载文件或文件夹的路径就行啦。😘

这里再补充一个类似的网站,上面的网址登不上的时候可以试一下这个:👇
https://blog.luckly-mjw.cn/tool-show/github-directory-downloader/index.html
notion image

5 解决方案四(SVN)

最后介绍一个通过代码获取的方式。🤒
1️⃣ 首先你需要安装SVN,这里我的电脑上安装了homebrew,所以直接通过命令安装了哈。🤜

2️⃣ 然后你需要定位一下这个目录,复制一下它。👀
notion image

3️⃣ 这个时候需要注意了,把 tree 改成 branches,然后执行 svn export
2025最实用的AI语音转文字工具-无需联网就可使用使用CloudflarePages为GitHub仓库中的文件提供免费CDN服务
Loading...
2021-2025Vc工具箱.

Vc工具箱 | 一个普通的干饭人🍚

Powered byVc .