How to temporary ignore files in git

With this alias you will be able to quickly ignore, unignore and list ignored files, place it in ~/.gitconfig: