I have a Kirby project housed in a GIT repo on my local computer. This contains submodules for both Kirby core and Panel as suggested by this article. I just pushed it to GitHub, then went onto my server and pulled down the repo. The ‘panel’ and ‘kirby’ folders are present, but empty.
Tried this via remote server, and it didn’t help.
git submodule foreach --recursive git checkout master
git submodule foreach --recursive git pull
My .gitmodules file includes:
[submodule "kirby"]
path = kirby
url = https://github.com/getkirby/kirby.git
[submodule "panel"]
path = panel
url = https://github.com/getkirby/panel.git