Skip to content

Instantly share code, notes, and snippets.

@adelton
Last active January 22, 2026 06:55
Show Gist options
  • Select an option

  • Save adelton/8e5e8501a338273c324b0194fc402a60 to your computer and use it in GitHub Desktop.

Select an option

Save adelton/8e5e8501a338273c324b0194fc402a60 to your computer and use it in GitHub Desktop.
git submodule reset
git submodule foreach --recursive git reset --hard ; git submodule update --init --recursive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment