I have a .gitattributes file in one of my repo on Github. I wanted to include it in .gitignore so that it doesnt get showed when someone tries to view the repo online.
I tried including it by adding .gitattributes or .gitattributes.txt in the .gitignore file, but nothing happens, it's still visible.
I searched it online too, if maybe it's not possible to git ignore such files, but didn't find much documentation about it.
So, how should I do it, any idea? Thanks in advance!