From 299dc13be9c8ddcbea11ffaf01ce47da22fd6e49 Mon Sep 17 00:00:00 2001 From: Dimitre Date: Tue, 11 Aug 2020 14:23:04 -0300 Subject: [PATCH] shallow clone to make installation faster shallow clone (board and submodules) to make installation faster --- docs/arduino-ide/mac.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/arduino-ide/mac.md b/docs/arduino-ide/mac.md index 9807cc7df2d..18553530067 100644 --- a/docs/arduino-ide/mac.md +++ b/docs/arduino-ide/mac.md @@ -7,9 +7,9 @@ Installation instructions for Mac OS ```bash mkdir -p ~/Documents/Arduino/hardware/espressif && \ cd ~/Documents/Arduino/hardware/espressif && \ - git clone https://github.com/espressif/arduino-esp32.git esp32 && \ + git clone https://github.com/espressif/arduino-esp32.git esp32 --depth 1 && \ cd esp32 && \ - git submodule update --init --recursive && \ + git submodule update --init --recursive --depth 1 && \ cd tools && \ python get.py ```