how to update esp-idf?

amazone
Posts: 8
Joined: Mon May 29, 2017 2:47 am

how to update esp-idf?

Postby amazone » Tue Sep 12, 2017 6:03 am

hi there,

I already have esp-idf v2.1 installed.

git clone https://github.com/espressif/esp-idf.git esp-idf-v2.1
cd esp-idf-v2.1 /
git checkout v2.1
git submodule update --init --recursive


How do I use the git command to update commit and newly added files to esp-idf?

ESP_Angus
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

Re: how to update esp-idf?

Postby ESP_Angus » Tue Sep 12, 2017 6:59 am

To change to the master branch (current development), then pull latest changes and update submodules:

Code: Select all

git checkout master
git pull
git submodule update --init --recursive
Use "git checkout v2.1" to go back to the v2.1 release.

There are a number of good online git resources to explain the exact meaning of these commands (and also good git UI tools for Windows & OS X to make it easier to see what is happening behind the scenes in git.)

Who is online

Users browsing this forum: No registered users and 88 guests