One of the most useful thing in the world of source control is .gitignore file. It might seem to be trivial to a lot of seasoned developers but try explaining the concept to a new developer or someone who is new to git, github or TFVC.

I wanted to share a few links today so that no one has to search through the internet to find the correct .gitignore file to use. The 2 best ways to get the .gitignore files for your repository are –

  1. Get it from github. github has a collection of huge templates. Go to this link and find your file –
  2. Another simple way to create the file is at where you can enter your type of template you want and generate the file –

If you want to understand the format and how to add/modify code within the .gitignore file, this link should give you all the information you need –