I have a .gitignore file with the following contents:
.vs/
I run the following commands
git add .gitignore
git commit -m 'adding ignore file'
In my .vs folder, I have a text file named test.txt.
When I type git status
, I see the following output
On branch master
Untracked files:
(use "git add <file>..." to include in what will be committed)
.vs/
nothing added to commit but untracked files present (use "git add" to track)
What am I missing here?