[Ovmsdev] dirty mongoose submodule

Derek Caudwell d.caudwell at gmail.com
Thu Aug 13 19:03:40 HKT 2020


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20200813/d75f2c83/attachment.html>


More information about the OvmsDev mailing list