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