From c917ed25049714a6761a8cb5e16a1fb869e88507 Mon Sep 17 00:00:00 2001 From: Dimitre Date: Thu, 1 Oct 2020 08:43:48 -0300 Subject: [PATCH] shallow clone to make installation faster (#4246) 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 9807cc7d..18553530 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 ```