File tree 1 file changed +11
-10
lines changed
1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -22,21 +22,22 @@ step.
22
22
[ v5.1 release] ( https://github.com/espressif/esp-idf/releases/tag/v5.1 )
23
23
24
24
```
25
- $ git clone -b v5.1 --recursive --depth 1 --shallow-submodule https://github.com/espressif/esp-idf.git
26
- $ cd esp-idf
27
- $ ./install.sh
25
+ git clone -b v5.1 --recursive --depth 1 --shallow-submodule https://github.com/espressif/esp-idf.git
26
+ cd esp-idf
27
+ ./install.sh
28
28
```
29
29
30
30
- To update an existing esp-idf toolchain to v5.1:
31
31
32
32
```
33
- $ cd path/to/esp-idf
34
- $ git fetch origin
35
- $ git checkout v5.1
36
- $ git reset --hard origin/v5.1
37
- $ git submodule update --recursive --init
38
- $ git clean -fdx
39
- $ ./install.sh
33
+ cd path/to/esp-idf
34
+ git fetch --depth 1 origin v5.1
35
+ git reset --hard FETCH_HEAD
36
+ git submodule update --depth 1 --recursive --init
37
+
38
+ # -ff is for cleaning untracked files as well as submodules
39
+ git clean -ffdx
40
+ ./install.sh
40
41
```
41
42
42
43
## Setup Matter environment
You can’t perform that action at this time.
0 commit comments