Created
May 18, 2022 10:45
-
-
Save Sekiphp/93df1e65781165b43cc1217fc1dce67d to your computer and use it in GitHub Desktop.
Fix changes in submodule (-dirty commits)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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