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@... <devel@...> on behalf of miem@... <miem@...>
Sent: Monday, 13 August 2018 3:44:31 PM
Subject: [Zephyr-devel] How to update Zephyr kernel to the newest version #gettingstartedguide
How can I update my local zephyr project (that I have cloned from Github before) to the latest (or a defined) version?