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
.gitignore
git add
Probably your exclude file mask is inacurate.