I have a git directory which contains the a whole bunch of files and then has a directory called \'sessions\'. \'sessions\' contains cookie information for my web.py program
If I'm remembering correctly, you can do this by creating a .gitignore file in the sessions folder with [^.]* as its contents.
.gitignore
sessions
[^.]*