Skip to content

Commit

Permalink
import script
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Gauci authored and MisterTea committed May 28, 2021
1 parent ba5ccd6 commit b1aca6a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions import_submodules.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
rm -Rf external_imported
git clean -xfd
git submodule foreach --recursive git clean -xfd
git submodule foreach --recursive git reset --hard
git submodule update --init --recursive
cp -Rf external external_imported
find external_imported | grep "\.git$" | xargs rm -Rf
git add -f external_imported

0 comments on commit b1aca6a

Please sign in to comment.