Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Sekiphp/93df1e65781165b43cc1217fc1dce67d to your computer and use it in GitHub Desktop.
Save Sekiphp/93df1e65781165b43cc1217fc1dce67d to your computer and use it in GitHub Desktop.
Fix changes in submodule (-dirty commits)
cd submodule
git reset --hard HEAD
git clean -fd .
cd ..
git submodule update --init --recursive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment