mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-01-31 03:46:49 +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
|
||||
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
|
||||
git config "submodule.${MODULE}.ignore" "dirty"
|
||||
done
|
||||
|
||||
# Mark certain repositories shallow
|
||||
|
||||
Reference in New Issue
Block a user