Created
September 18, 2023 18:57
-
-
Save paulresdat/fc5778a9c5f995b5c3c071122718d137 to your computer and use it in GitHub Desktop.
Git Revert Submodule
This file contains hidden or 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
mv subfolder subfolder_tmp | |
git submodule deinit subfolder | |
git rm --cached subfolder | |
mv subfolder_tmp subfolder | |
git add subfolder |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment