<div dir="ltr">Hi all,<br><div><br></div><div>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?</div><div><br></div><div><ul style="box-sizing:inherit;margin:0px 0px 1.25em 1.5em;padding:0px;direction:ltr;font-size:16px;line-height:1.6;list-style-position:outside;font-family:"Source Sans Pro","Helvetica Neue",Helvetica,Arial,sans-serif;color:rgb(85,85,85);letter-spacing:0.33px"><li style="box-sizing:inherit;margin:0px;padding:0px;direction:ltr"><p style="box-sizing:inherit;margin:0px 0px 0.625em;padding:0px;direction:ltr;font-family:inherit;font-size:1.0625rem;line-height:1.6;letter-spacing:-0.01em"><span style="box-sizing:inherit;font-weight:700;line-height:inherit;letter-spacing:-0.005em">fetch all submodules (needed if submodules were added in context of a pull)</span></p><div class="gmail-listingblock" style="box-sizing:inherit;margin:0px 0px 1.25em;padding:0px;direction:ltr;font-size:small"><div class="gmail-content" style="box-sizing:inherit;margin:0px;padding:0px;direction:ltr"><pre class="gmail-highlightjs gmail-highlight" style="box-sizing:inherit;font-family:"Droid Sans Mono","DejaVu Sans Mono",monospace;font-size:1em;white-space:pre-wrap;margin-top:0px;margin-bottom:0px;padding:0px;direction:ltr;line-height:1.45;color:rgba(0,0,0,0.9);background:rgb(248,249,250);border-radius:4px;overflow-x:auto"><code class="gmail-language-bash gmail-hljs" style="box-sizing:inherit;font-family:"oxygen mono",monospace;font-size:small;color:rgb(51,51,51);line-height:1.45;display:block;overflow-x:auto;padding:1em;background:rgb(248,248,248);border-radius:4px">git submodule update --recursive --init</code></pre></div></div></li><li style="box-sizing:inherit;margin:0px;padding:0px;direction:ltr"><p style="box-sizing:inherit;margin:0px 0px 0.625em;padding:0px;direction:ltr;font-family:inherit;font-size:1.0625rem;line-height:1.6;letter-spacing:-0.01em"><span style="box-sizing:inherit;font-weight:700;line-height:inherit;letter-spacing:-0.005em">pull all submodules</span></p><div class="gmail-listingblock" style="box-sizing:inherit;margin:0px 0px 1.25em;padding:0px;direction:ltr;font-size:small"><div class="gmail-content" style="box-sizing:inherit;margin:0px;padding:0px;direction:ltr"><pre class="gmail-highlightjs gmail-highlight" style="box-sizing:inherit;font-family:"Droid Sans Mono","DejaVu Sans Mono",monospace;font-size:1em;white-space:pre-wrap;margin-top:0px;margin-bottom:0px;padding:0px;direction:ltr;line-height:1.45;color:rgba(0,0,0,0.9);background:rgb(248,249,250);border-radius:4px;overflow-x:auto"><code class="gmail-language-bash gmail-hljs" style="box-sizing:inherit;font-family:"oxygen mono",monospace;font-size:small;color:rgb(51,51,51);line-height:1.45;display:block;overflow-x:auto;padding:1em;background:rgb(248,248,248);border-radius:4px">git pull --recurse-submodules
git submodule update --recursive --remote</code></pre></div></div></li><li style="box-sizing:inherit;margin:0px;padding:0px;direction:ltr"><p style="box-sizing:inherit;margin:0px 0px 0.625em;padding:0px;direction:ltr;font-family:inherit;font-size:1.0625rem;line-height:1.6;letter-spacing:-0.01em"><span style="box-sizing:inherit;font-weight:700;line-height:inherit;letter-spacing:-0.005em">retract all the local changes in all submodules</span></p><div class="gmail-listingblock" style="box-sizing:inherit;margin:0px 0px 1.25em;padding:0px;direction:ltr;font-size:small"><div class="gmail-content" style="box-sizing:inherit;margin:0px;padding:0px;direction:ltr"><pre class="gmail-highlightjs gmail-highlight" style="box-sizing:inherit;font-family:"Droid Sans Mono","DejaVu Sans Mono",monospace;font-size:1em;white-space:pre-wrap;margin-top:0px;margin-bottom:0px;padding:0px;direction:ltr;line-height:1.45;color:rgba(0,0,0,0.9);background:rgb(248,249,250);border-radius:4px;overflow-x:auto"><code class="gmail-language-bash gmail-hljs" style="box-sizing:inherit;font-family:"oxygen mono",monospace;font-size:small;color:rgb(51,51,51);line-height:1.45;display:block;overflow-x:auto;padding:1em;background:rgb(248,248,248);border-radius:4px">git submodule foreach --recursive git reset --hard</code></pre></div></div></li><li style="box-sizing:inherit;margin:0px;padding:0px;direction:ltr"><p style="box-sizing:inherit;margin:0px 0px 0.625em;padding:0px;direction:ltr;font-family:inherit;font-size:1.0625rem;line-height:1.6;letter-spacing:-0.01em"><span style="box-sizing:inherit;font-weight:700;line-height:inherit;letter-spacing:-0.005em">in all submodules, delete all files that are not part of the repository</span></p><div class="gmail-listingblock" style="box-sizing:inherit;margin:0px 0px 1.25em;padding:0px;direction:ltr;font-size:small"><div class="gmail-content" style="box-sizing:inherit;margin:0px;padding:0px;direction:ltr"><pre class="gmail-highlightjs gmail-highlight" style="box-sizing:inherit;font-family:"Droid Sans Mono","DejaVu Sans Mono",monospace;font-size:1em;white-space:pre-wrap;margin-top:0px;margin-bottom:0px;padding:0px;direction:ltr;line-height:1.45;color:rgba(0,0,0,0.9);background:rgb(248,249,250);border-radius:4px;overflow-x:auto"><code class="gmail-language-bash gmail-hljs" style="box-sizing:inherit;font-family:"oxygen mono",monospace;font-size:small;color:rgb(51,51,51);line-height:1.45;display:block;overflow-x:auto;padding:1em;background:rgb(248,248,248);border-radius:4px">git submodule foreach --recursive git clean -fdx</code></pre></div></div></li></ul></div></div>