Skip worktree for files we are ignoring

This commit is contained in:
Daniel Lynn 2023-04-13 15:04:33 -05:00
parent 621a631f7a
commit 82a059bcee
Signed by: daniel
GPG Key ID: 28496A140E180A9D

View File

@ -21,8 +21,8 @@
cl = clone
cleanup = "!git branch --merged | rg -v \"(\\*|master|main|dev|develop)\" | xargs -r git branch -d"
history = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
ignore = update-index --assume-unchanged
unignore = update-index --no-assume-unchanged
ignore = update-index --assume-unchanged --skip-worktree
unignore = update-index --no-assume-unchanged --no-skip-worktree
ls-ignores = "!git ls-files -v | rg "^h" | cut -f2 -d' '"
[user]