Skip to content

Instantly share code, notes, and snippets.

@fuji246
Last active June 2, 2022 18:09
Show Gist options
  • Save fuji246/ffb0ac17393545e98415562e53cc25a4 to your computer and use it in GitHub Desktop.
Save fuji246/ffb0ac17393545e98415562e53cc25a4 to your computer and use it in GitHub Desktop.
fix submodule issues
git clean -dfx && git submodule foreach --recursive "git clean -dfx" && git checkout . && git pull origin master && git submodule sync && git submodule update --init --recursive
git submodule sync
git submodule foreach --recursive
git submodule update --init --recursive
git reset --hard
git clean -fdx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment