Leo Szeto
Leo Szeto

Reputation: 1

Git ignore for nested extensions

My project contains files that have the extension .acd; The project also automatically generates backups that are labeled project.BAK000.acd

I would like to use git-ignore to filter out all files with .BAK.acd, but I'm having some trouble, could anyone provide an example?

Upvotes: 0

Views: 38

Answers (1)

Ambidextrous
Ambidextrous

Reputation: 820

Using your project.BAK000.acd as an example, I'd try adding *.BAK*.acd in the .gitignore file

Upvotes: 1

Related Questions