.gitignore not working for me

Posted by John Grey on Stack Overflow See other posts from Stack Overflow or by John Grey
Published on 2010-05-24T22:39:19Z Indexed on 2010/05/24 22:51 UTC
Read the original article Hit count: 222

Filed under:

Hi,

I'm trying to create a new git repository from existing folder. I've created a .gitignore file in the root of the folder. But if I say 'git add *' 'git commit' 'git push' files that should be ignored still get commited to the remote repository. I'm on Windows. Also I've bought a license for SmartGIT. It also seems to ignore .gitignore. I have to manually select which new files to commit.

What am I doing wrong?

© Stack Overflow or respective owner

Related posts about git