Skip to content

Commit c917ed2

Browse files
authored
shallow clone to make installation faster (#4246)
shallow clone (board and submodules) to make installation faster
1 parent ee88c42 commit c917ed2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: docs/arduino-ide/mac.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ Installation instructions for Mac OS
77
```bash
88
mkdir -p ~/Documents/Arduino/hardware/espressif && \
99
cd ~/Documents/Arduino/hardware/espressif && \
10-
git clone https://github.com/espressif/arduino-esp32.git esp32 && \
10+
git clone https://github.com/espressif/arduino-esp32.git esp32 --depth 1 && \
1111
cd esp32 && \
12-
git submodule update --init --recursive && \
12+
git submodule update --init --recursive --depth 1 && \
1313
cd tools && \
1414
python get.py
1515
```

0 commit comments

Comments
 (0)