I would like to stop Git from showing ignored files in git status
, because having tons of Documentation and config files in the list of Changed but not updated files, renders the list half-useless.
Can anyone tell me, if it is normal behavior for Git to show these files? I put the ignore information in a .gitignore
file in the root directory of the Git repository and they are not added when using git add .
but it seems that they are not fully ignored either, as they show up in the aforementioned list and do not show up in the list printed by git ls-files --others -i --exclude-standard
. Only files matched by the patterns in ~/.gitignore
show up there.
Could it be because at an earlier stage I didn't ignore them and they were thus committed at least once?
Thanks!