I want to git ignore cache directories in my project. I read on the internet that I'm supposed to use the gitignore command. But when I did, bash complains about command does not exist. I tried running an apt-get install gitignore, but package does not exist.
How do I tell git to ignore my cache directory?