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.
- Create a file with name .tfignore.
- Copy all data from .gitignore file.
- Add a backslack (\) character infront of folders.
That's it. Now, the azure repos extension excludes the files and folders to check-in.
Comments
Post a Comment