I have a local repo with 50 submodules. My teammates recently made some deletions on the remote repo of 5 submodules. So I'm behind one commit and have extra submodules.
I want to update my local I recently Pull to get my local up to date with the remote remo. But it's telling me that I either need to commit or stash the uncommitted changes.
I still don't fully understand the difference. I just want my local repo to be exactly up to date with what's on my remote repo, so it automatically deletes the extra submodules that are on my current local repo.
Which of the two would be the correct option to do this?
And my last question, if I chose commit. What would be the purpose of committing the changes if later on I would Pull what's on the remote repo and end up changing the things I just committed anyways? Thanks