From 79751842623f2e0b2c60061aa0a228cf9ec3b6e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5kon=20L=C3=B8vdal?= Date: Sun, 15 Apr 2018 23:25:17 +0200 Subject: [PATCH] Update Electrical/GETTING_STARTED.md with git submodule information --- Electrical/GETTING_STARTED.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/Electrical/GETTING_STARTED.md b/Electrical/GETTING_STARTED.md index a8302f7a..44e6a15b 100644 --- a/Electrical/GETTING_STARTED.md +++ b/Electrical/GETTING_STARTED.md @@ -53,3 +53,25 @@ cd AmsToMqttBridge git submodule init git submodule update --recursive ``` + +Make sure that all submodules are fetched. If not `git submodule status` will show something like the following (notice the `-` in front): + +```bash +-f886cacb58461d356730e744d9d2ae55590825e4 kicad-symbols +``` + +while when properly fetched it will show the commit id normally +(plus any labels if appropriate): + +```bash + f886cacb58461d356730e744d9d2ae55590825e4 kicad-symbols (5.0.0-rc1) +``` + +To mitigate, run update: + +```bash +$ git submodule update --init +Submodule 'Electrical/kicad-libs/kicad-symbols' (https://github.com/kicad/kicad-symbols) registered for path 'kicad-symbols' +Cloning into '.../AmsToMqttBridge/Electrical/kicad-libs/kicad-symbols'... +Submodule path 'kicad-symbols': checked out 'f886cacb58461d356730e744d9d2ae55590825e4' +```