Individual projects should not be playing whack-a-mole with the temporary files created by every single text editor in existence. I use vim, someone else uses nano... down this road lies madness. You should create your own global git ignore file, set it as core.excludesfile, and then add whatever local-to-you patterns makes sense to ignore (or configure emacs to not leave these files in the working folder; I tend to do this whenever possible with my editors).
Individual projects should not be playing whack-a-mole with the temporary files created by every single text editor in existence. I use vim, someone else uses nano... down this road lies madness. You should create your own global git ignore file, set it as core.excludesfile, and then add whatever local-to-you patterns makes sense to ignore (or configure emacs to not leave these files in the working folder; I tend to do this whenever possible with my editors).