Ignore/exclude spfx solution files to check-in in TFS

There are lot of files and folders does not required to check-in into version control like git and TFS. That's why, the yeoman generator automatically creates .gitignore file to instruct git to exculde certain files. 

But what about if you are using TFS. Don't worry. TFS also has a provision to instruct to exclude files that is .tfignore

Just follow below steps to create a .tfignore file. 

  1. Create a file with name .tfignore.
  2. Copy all data from .gitignore file.
  3. Add a backslack (\) character infront of folders.

That's it. Now, the azure repos extension excludes the files and folders to check-in.

Comments

Popular posts from this blog

Switch from Classic to Claims Authentication in SharePoint 2010

How to query list data using web service