add_submodule.sh: ignore only untracked files in submodules
This commit is contained in:
parent
98b580a00e
commit
53870bc6bc
|
@ -15,6 +15,6 @@ DEST="vendor/${REPO#*/}"
|
||||||
[ -n "$2" ] && DEST="$2"
|
[ -n "$2" ] && DEST="$2"
|
||||||
|
|
||||||
git submodule add --force https://github.com/${REPO}.git "$DEST"
|
git submodule add --force https://github.com/${REPO}.git "$DEST"
|
||||||
git config -f .gitmodules submodule.${DEST}.ignore dirty
|
git config -f .gitmodules submodule.${DEST}.ignore untracked
|
||||||
git config -f .gitmodules submodule.${DEST}.branch master
|
git config -f .gitmodules submodule.${DEST}.branch master
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue