Tagged version differences in git (release/v4.3 vs v4.3)

gbsinclair@gmail.com
Posts: 2
Joined: Wed Jan 05, 2022 10:25 pm

Tagged version differences in git (release/v4.3 vs v4.3)

Postby gbsinclair@gmail.com » Thu Jan 06, 2022 12:12 am

Hi
Can someone please tell me what the difference is between
1. git clone -b release/v4.3 --recursive https://github.com/espressif/esp-idf.git
and
2. git clone -b v4.3 --recursive https://github.com/espressif/esp-idf.git

The downloaded idf is different in each case. So which version is the official release of v4.3?

The sources of these commands:
1. https://docs.espressif.com/projects/esp ... et-esp-idf
2. https://github.com/espressif/esp-idf/releases/tag/v4.3

Thanks
Grant

ClockToshi
Posts: 9
Joined: Thu Nov 16, 2017 9:09 pm

Re: Tagged version differences in git (release/v4.3 vs v4.3)

Postby ClockToshi » Thu Jan 06, 2022 2:51 am

The former is the branch the latter is the tag.
For production use you want the tag generally as the branch is a moving target.

gbsinclair@gmail.com
Posts: 2
Joined: Wed Jan 05, 2022 10:25 pm

Re: Tagged version differences in git (release/v4.3 vs v4.3)

Postby gbsinclair@gmail.com » Fri Jan 07, 2022 12:11 am

Thanks for the reply, I appreciate your time :D

Grant

Who is online

Users browsing this forum: No registered users and 180 guests