一.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
一.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
转载于:https://www.cnblogs.com/alantao/p/8522032.html