从外网GitHub clone开源项目的时候,.git文件过大,导致克隆慢
以clone impala为例,主要是加入-depth=1参数:
git clone -b cdh4-2.0 --depth=1 https://github.com/cloudera/Impala.git
注:-b参数是在指定分支
以clone impala为例,主要是加入-depth=1参数:
git clone -b cdh4-2.0 --depth=1 https://github.com/cloudera/Impala.git
注:-b参数是在指定分支