Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm a big fan of folder+file thumbnailing, so I'm all for thumbs.db files.

However, I'm working on a Git project, so every time I commit my git folder to the online repository, some thumbs.db files get uploaded too. This is incredibly annoying, both for me and my co-workers, as we want to see the project files, not some thumbnail file that have no effect once they are off my hard drive.

I've read about turning them off. But I'd like to keep them on in places, so I can quickly see the thumbnails of my photos, for example.

Can I turn the thumbnail cache off in just one directory, so I can keep my project clear of them?

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

You can simply add

thumbs.db

to your .gitignore. This will keep the files in place on your local file system, but Git won't add them, or commit, for that matter.

share|improve this answer
    
Didn't think of doing it this way round. Thanks. –  ACarter Jul 27 '13 at 15:59
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.