git - Why is my .gitignore file ignored? -


i've read posts can find here regarding topic, still can't seem figure out why .gitignore file totally ignored.

my main repository folder mediastore. inside have vs project, committed. create file, test.txt in mediastore folder, it's not added, not tracked. create .gitignore file in same folder. looks this:

test.txt mediastore2/obj/ 

still, when executing git status within folder, both test.txt , obj folder listed untracked. why?

(im working under windows 7; posh-git , notepad editing file)


Comments

Popular posts from this blog

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -

javascript - Using jquery append to add option values into a select element not working -

javascript - Restarting Supervisor and effect on FlaskSocketIO -