title: .gitignore two or more extensions file
body: <p>I have the next files in my local repository:</p>
  
  <p><code>app.component.js
  core.component.js
  core.service.local.js
  core.service.power.ts</code></p>
  
  <p>My question is very simple, How can I do to ignore the files with the extension .component.js and .service.local.js and other, I mean any file to end with .Any_String.ext</p>