Added submodule
This commit is contained in:
11
restore-submodules.sh
Executable file
11
restore-submodules.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
git config -f .gitmodules --get-regexp '^submodule\..*\.path$' |
|
||||
while read path_key path
|
||||
do
|
||||
url_key=$(echo $path_key | sed 's/\.path/.url/')
|
||||
url=$(git config -f .gitmodules --get "$url_key")
|
||||
git submodule add $url $path
|
||||
done
|
||||
1
src/godot
Submodule
1
src/godot
Submodule
Submodule src/godot added at 51cb2df1f6
Reference in New Issue
Block a user