Submodules
Tags: git
Add submodule
git submodule add <repo URL>Once you have added a submodule to a repo, it wont be pulled down automatically with a pull or clone. Run the below to pull/update the submodule.
git submodule initgit submodule updateUpdate submodules
git submodule update --recursive --remoteForce clean submodules
git submodule foreach --recursive git reset --hardgit submodule update —init —recursive —remote If the above doesnt work then
git submodule deinit -f .git submodule update --init --recursive --remoteFor some reason a change on a submodule was staged, so I got rid of it (this ended up being normal and was done again when I updated the submodule again)
git restore .\files\Get-SMART\ --recurse-submodules