If you work a lot with github, then you are used to add a .gitignore file when you initialize your repository.
If you create a project in TFS or Visual Studio Team Services this is not the case. You have to add your .gitignore file using the team project settings. Under settings navigate to repository settings.
Look for the “Ignore File” and click “add”. Edit the file if you need to do any modifications.
Now commit the .ignorefile and push your changes to the server.
The git integration in Visual Studio and TFS is pretty good – but a lot of features are well hidden. And some things are not that intuitive as they should be.
One thought on “Where is my git ignore file in Visual Studio?”