mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-16 04:53:44 +00:00
chore(repo): add-submodules submodule ignore dirty
This commit is contained in:
@@ -46,7 +46,7 @@ git submodule add --name tmux/tmux-dark-notify \
|
|||||||
# Takes submodules and sets them to ignore all changes
|
# Takes submodules and sets them to ignore all changes
|
||||||
for MODULE in $(git config --file .gitmodules --get-regexp path | awk '{ print $2 }'); do
|
for MODULE in $(git config --file .gitmodules --get-regexp path | awk '{ print $2 }'); do
|
||||||
echo "Ignoring submodule changes for submodule.${MODULE}..."
|
echo "Ignoring submodule changes for submodule.${MODULE}..."
|
||||||
git config "submodule.${MODULE}.ignore" all
|
git config "submodule.${MODULE}.ignore" "dirty"
|
||||||
done
|
done
|
||||||
|
|
||||||
# Mark certain repositories shallow
|
# Mark certain repositories shallow
|
||||||
|
|||||||
Reference in New Issue
Block a user