I have a directory in a project which only contains a single file called chat.log. The directory is named ~. Yeah, just that. And it is located in the root of the project. I tried to add the directory and/or the file to .gitignore, but nothing seems to work. I tried adding:
~
~/*
*/chat.log
chat.log
But really, nothing seems to work. What do I do?