You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
240 B
8 lines
240 B
2 years ago
|
#!/usr/bin/env bash
|
||
|
|
||
|
# setup safe directories for submodules
|
||
|
SUBMODULE_DIRS=$(git config --file .gitmodules --get-regexp path | awk '{ print $2 }')
|
||
|
for DIR in $SUBMODULE_DIRS; do
|
||
|
git config --global --add safe.directory "$PWD/$DIR"
|
||
|
done
|