Can I ignore files locally without polluting the global git config for everyone else? I have untracked files that are spam in my git status but I don\'t want to commit git c
this is a kind of brief solution,that add a row to local exclude file.
echo YOURFILE_OR_DIRECTOY >> .git/info/exclude