1

I've read all the posts I can find here regarding my topic, but still can't seem to figure out why my .gitignore file is totally ignored.

My main repository folder is MediaStore. Inside it I have a VS project, it is committed. Now I create a file, test.txt in this MediaStore folder, it's not added, so not tracked. I also create a .gitignore file in the very same folder. It looks like this:

test.txt
MediaStore2/obj/

Still, when executing git status from within this folder, both the test.txt and the obj folder are listed as untracked. Why?

(Im working under Windows 7; posh-git and notepad for editing the file)

nwinkler
  • 52,665
  • 21
  • 154
  • 168

0 Answers0