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

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

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -