axodox / AxoCover

Nice and free .Net code coverage support for Visual Studio with OpenCover.
https://marketplace.visualstudio.com/items?itemName=axodox1.AxoCover
MIT License
248 stars 60 forks source link

Add .axoCover folder to .gitignore #143

Open jcbaar opened 6 years ago

jcbaar commented 6 years ago

I do not know if it is at all possible but I would like it when axocover automatically adds the '.axoCover' folder to the .gitignore file when a new project is created. Now when I forget to manually do this the complete folder is added to source control...

Regards, Jan

raghav710 commented 6 years ago

Here's an easy way to ignore all .axoCover files for all the repositories in a computer. Step 1: Configure your global .gitignore file as given here

Step 2: Add the pattern **/.axoCover/** in the .gitignore file

That's all, now all axoCover files are ignored by git, no matter how many projects you create. The additional advantage is that you don't need to burden your project's .gitignore with ignoring axoCover files