git clean -xfd
git submodule foreach --recursive git clean -xfd
git reset --hard
git submodule foreach --recursive git reset --hard
git submodule update --init --recursive
Created
April 14, 2021 03:58
-
-
Save scaomath/5dbf41a1f0afcfced0e1e39f88331f5b to your computer and use it in GitHub Desktop.
Hard reset submodules
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment