I have a file structure similar to this in my project:
-project root
.gitignore
-Scripts (folder)
fileA.js
fileB.js
-maps (folder)
fileA.js.map
fileB.js.map
And a .gitignore file that contains:
**/*.map
Scripts/**
(among other entries)
However, when I use Visual Studio 2013 to stage a commit (right-click on solution and select Commit) I still see fileA.js.map, fileB.js.map and fileA.js (but NOT fileB.js) in the "Included Changes" section.
This is a brand new repo, with no commits so Git is not aware of any of these files. These files are generated by Gulp which is why I do not want them in my repo.
I've tried so many different permutations in .gitignore that I can't remember them all. Any ideas as to what I'm doing wrong?
Thanks.