mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-13 20:53:01 +00:00
chore: sort gitignore, echo submodule ignore status
This commit is contained in:
43
.gitignore
vendored
43
.gitignore
vendored
@@ -1,32 +1,33 @@
|
|||||||
Brewfile.lock.json
|
!.gitkeep
|
||||||
lazy-lock.json
|
|
||||||
config/nvim/lazy-lock.json
|
|
||||||
*.log
|
|
||||||
*-secret
|
*-secret
|
||||||
|
*.bak
|
||||||
|
*.log
|
||||||
|
*.socket
|
||||||
*cache
|
*cache
|
||||||
|
.env
|
||||||
.idea
|
.idea
|
||||||
|
.nfs*
|
||||||
.vscode
|
.vscode
|
||||||
|
Brewfile.lock.json
|
||||||
|
antidote_plugins.zsh
|
||||||
|
config/alacritty/theme-active.toml
|
||||||
config/cheat/cheatsheets/pure-bash-bible/*
|
config/cheat/cheatsheets/pure-bash-bible/*
|
||||||
config/cheat/cheatsheets/tldr/*
|
config/cheat/cheatsheets/tldr/*
|
||||||
config/git/credentials
|
config/git/credentials
|
||||||
config/npm/npmrc
|
|
||||||
config/zsh/.zcompdump
|
|
||||||
config/alacritty/theme-active.toml
|
|
||||||
ssh/local.d/*
|
|
||||||
!ssh/local.d/.gitkeep
|
|
||||||
!.gitkeep
|
|
||||||
.env
|
|
||||||
local/share/fonts/*
|
|
||||||
node_modules
|
|
||||||
.nfs*
|
|
||||||
*.socket
|
|
||||||
iTermServer-*
|
|
||||||
lock
|
|
||||||
config/iterm2/AppSupport
|
|
||||||
config/gnupg/S.*
|
config/gnupg/S.*
|
||||||
config/gnupg/s
|
|
||||||
config/gnupg/private-keys-v1.d
|
config/gnupg/private-keys-v1.d
|
||||||
|
config/gnupg/s
|
||||||
|
config/iterm2/AppSupport
|
||||||
|
config/npm/npmrc
|
||||||
|
config/nvim/lazy-lock.json
|
||||||
config/nvim/spell/*
|
config/nvim/spell/*
|
||||||
!config/nvim/spell/.gitkeep
|
!config/nvim/spell/.gitkeep
|
||||||
antidote_plugins.zsh
|
config/zsh/.zcompdump
|
||||||
*.bak
|
iTermServer-*
|
||||||
|
lazy-lock.json
|
||||||
|
local/share/fonts/*
|
||||||
|
local/bin/asdf/plugins/*
|
||||||
|
lock
|
||||||
|
node_modules
|
||||||
|
ssh/local.d/*
|
||||||
|
!ssh/local.d/.gitkeep
|
||||||
|
|||||||
@@ -45,6 +45,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}..."
|
||||||
git config "submodule.${MODULE}.ignore" all
|
git config "submodule.${MODULE}.ignore" all
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user