一、下载整个项目文件夹
git clone 链接地址
二、下载指定文件夹
1.最快捷方式:复制待下载的链接(速度慢)
粘贴到下面网址中:
https://minhaskamal.github.io/DownGit/#/home
2.GitURL修改为SVN网址
例如:想要下载的github上的文件网址为:
https: //github.com/aymericdamien/TensorFlow-Examples/tree/master/
examples/2_BasicModels
(1)启动终端,将目录转换到想要将文件下载到的目录下
cd 文件下载到的目录
(2)含隐藏<.svn>文件夹
svn checkout https: //github.com/aymericdamien/TensorFlow-Examples/trunk/examples/2_BasicModels
即将原网址中tree/master
改为trunk
,利用此下载方式,在下载的文件中会有一个隐藏的文件夹
(2)不含隐藏<.svn>文件夹(推荐)
在终端中输入:
svn export https: //github.com/aymericdamien/TensorFlow-Examples/trunk/examples/2_BasicModels
此时下载的是一个干净的副本。
参见:
https://blog.youkuaiyun.com/qq_35860352/article/details/80313078