Git - removing files permanently - gitignore

Wed, Sep 29, 2010

I'm a very new user of Git. I've been using it for some time to download and install repositories, like most people, but didn't use it for source control yet. Recently I've started using it, though, so I've been bumping into small problems along the way.

One problem I've had was with trying to find out how to keep certain files out of a repository. I had tried Googling a few terms, but  that only brought up results for actually removing a file once and for all from the directory tree and from the repository. I had been typing something like git remove files permanently.

If only I had only been using the search term "ignore" and not remove :-) That kind of makes you feel stupid once you realize, but then again I've never claimed to be smart. Googling something like: git ignoring files, magically brought me to:

https://www.kernel.org/pub/software/scm/git/docs/gitignore.html

I just thought I'd put it out there...