0

I have the following solution structure

SlnFolder/
    Project1/
    Project2ToBeExcluded/
    Project3/
    .gitignore

I copied this .gitignore as a basis. What I try to achieve is adding Project2ToBeExcluded to .gitignore. I tried to add Project2ToBeExcluded/ at the very top of the .gitignore but the project and its changes still are tracked. By either the GitHub application and my VS2012 extension. How to fix this?

Michael Schnerring
  • 3,584
  • 4
  • 23
  • 53

1 Answers1

1

Have you already add those files to the repository before adding the .gitignore file? If so, see .gitignore file not ignoring. You'll need to clear the cache or update the index. The link has both options to try.

Community
  • 1
  • 1
SwDevMan81
  • 48,814
  • 22
  • 151
  • 184