Alternatively ...
sebo@mach:~/$ cd $ZEPHYR_BASE
sebo@mach:~/zephyr$ git fetch --all
sebo@mach:~/zephyr$ git tag --list
sebo@mach:~/zephyr$ git checkout zephyr-v1.12.0
If you get an error during checkout you might have made changes to Zephyr, at which point you have no choice but to learn enough git to be able to manage your out-of-tree patches.
________________________________________
From: devel@lists.zephyrproject.org <devel@lists.zephyrproject.org> on behalf of miem@oticon.com <miem@oticon.com>
Sent: Monday, 13 August 2018 3:44:31 PM
To: devel@lists.zephyrproject.org
Subject: [Zephyr-devel] How to update Zephyr kernel to the newest version #gettingstartedguide
Hi,
How can I update my local zephyr project (that I have cloned from Github before) to the latest (or a defined) version?
Regards,
Mina