title: Ignore gitignore rules
body: <p>Is there any way to ignore gitignore rules but still check in the .gitignore file? Or maybe we should use a different implementation?</p>
  
  <p>This is not a question about how to apply gitignore rules or "why my rule doesn't work correctly".</p>
  
  <p>We are trying to create templates for our users, which will include 1) a folder that initially exists but will be automatically updated 2) a .gitignore file that has some rules. There is also some logic that copies the whole template folder to the users machine, including both the files mentioned above.</p>
  
  <p>We want to check in the .gitignore file, but we don't want the rules to be applied to our own repo.</p>
  
  <p>The template folder would look like this:</p>
  
  <p>-template
      -generated
          -a.file
  -.gitignore</p>
  
  <p>The .gitignore looks something like:</p>
  
  <pre><code>...
  
  **/generated
  ...
  </code></pre>
  
  <p>We want the user to ignore their changes to 'a.file' but we don't want to ignore it for ourselves.</p>
  
  <p>Is there a good way to just ignore the rules, or the better practice is to use a different implementation?</p>
  
  <p>(Apologize if the description is terriblly hard to understand.)</p>