I started using TFVC recently. I was wondering if I can use .gitignore file with TFVC? I am keeping asp.net code in the repository and don't want build related files and folders to get checked in.
Yes, in my experience you can use .gitignore file in TFVC. It should work the same. If you want information about how to get the .gitignore file, you can refer the following link -
https://cache404.net/2020/06/04/getting-and-using-gitignore/