BenHero
BenHero

Reputation: 333

.tfignore Office temporary files

I'm having trouble ignoring the temporary files created by MS-Office, especially the ones from Excel.

The file is generated when you open some Excel file which is under version control and starts with ~$. It will instant be added to the included changes.

To prevent this I want to exclude this files using .tfignore but it does not work.

Example of temporary xlsx file

I added ~*.xlsx to my .tfignore file. But as mentioned it does not work.

sample .tfignore

Anybody out there who can help me?

Upvotes: 2

Views: 68

Answers (1)

BenHero
BenHero

Reputation: 333

~$* works just fine. Thanks to @YanSklyarenko

Upvotes: 2

Related Questions