一.git clone [URL] 下载指定ur的源码
$ git clone https://github.com/jquery/jquery
二.指定参数, -b是分支, --depth 1 最新的一次提交clone下来
$ git clone https://github.com/zce/music-player.git -b vue --depth 1
三.下载指定branch的项目源码
$ git clone -b branch_name git://xxx/project.git
博客列表 >使用Git在GitHub上下载源码
一.git clone [URL] 下载指定ur的源码
$ git clone https://github.com/jquery/jquery
二.指定参数, -b是分支, --depth 1 最新的一次提交clone下来
$ git clone https://github.com/zce/music-player.git -b vue --depth 1
三.下载指定branch的项目源码
$ git clone -b branch_name git://xxx/project.git