13 Aug
2020
13 Aug
'20
7:03 p.m.
Hi all,
I am still struggling to resolve GitHub Desktop reporting the mongoose submodule as "-dirty" which then prevents popping stashed changes. I have tried the git commands below without success and can only assume it is because I am using WSL2 as my build environment. Is anyone else using WSL2, having the same issue?
fetch all submodules (needed if submodules were added in context of a pull)
git submodule update --recursive --init
pull all submodules
git pull --recurse-submodules git submodule update --recursive --remote
retract all the local changes in all submodules
git submodule foreach --recursive git reset --hard
in all submodules, delete all files that are not part of the repository
git submodule foreach --recursive git clean -fdx