still_dreaming_1
still_dreaming_1

Reputation: 9155

.gitignore file showing up in git status under untracked files

Git newbie here. I am probably making a simple mistake here, but I can't seem get my .user files to disappear from the git status output under untracked files. When you add a file to the .gitignore file, it should not show up at all in "git status" right? Here is my .gitignore file:

.*.suo
.*.user

I have also tried it like this: .*\.user The file that is showing up under the git status is ACS.CF/ACS.CF.UI.Framework/ACS.CF.UI.Framework.csproj.user

Upvotes: 2

Views: 1128

Answers (1)

Alex Zharnasek
Alex Zharnasek

Reputation: 519

try

*.suo

*.user

Upvotes: 4

Related Questions