Use git clone --depth (#26976)

Signed-off-by: Pratik Raj <rajpratik71@gmail.com>
This commit is contained in:
Pratik Raj
2020-09-08 12:57:10 +05:30
committed by GitHub
parent d0e980c2fa
commit cfc618ef44
7 changed files with 8 additions and 8 deletions

View File

@ -60,8 +60,8 @@ Next we will clone carbon and whisper and install these components. Whisper is j
by carbon to write metrics to disk.
cd /usr/local/src
git clone https://github.com/graphite-project/carbon.git
git clone https://github.com/graphite-project/whisper.git
git clone --depth 1 https://github.com/graphite-project/carbon.git
git clone --depth 1 https://github.com/graphite-project/whisper.git
cd whisper && python setup.py install && cd ..
cd carbon && python setup.py install && cd ..