From e0e2e400df8e9e11fa4cc03afae13f3cee3f0e69 Mon Sep 17 00:00:00 2001 From: Francisco Molina Date: Wed, 5 Feb 2020 10:04:35 +0100 Subject: [PATCH] README: fix submodule initialization --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5909c83ddf..e5c6ac6e92 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,15 @@ cd applications RIOTBASE="../RIOT" BOARD=samr21-xpro make -C sniffer flash ``` -Alternatively, you can step into the submodule and check out the current master: +Alternatively you can use RIOT as a submodule. To initialize the submodule, from the +root of the repository run: + +```sh +git submodule update --init --recursive +``` + +If you want to use master then simply step into the submodule and checkout master or +any other desired branch. ```sh cd RIOT