title: How do I define a .gitattributes rule for a file with spaces in it?
body: <p>I've read the <a href="https://git-scm.com/docs/gitattributes" rel="noreferrer">documentation on .gitattributes</a> and <a href="https://stackoverflow.com/questions/18864698/whitespace-in-gitattributes-patterns">searched Stack Overflow</a> for a simple answer to this question, but so far haven't found it. I have a file with spaces in it like so.</p>
  
  <pre><code>Reserved\ Slots.txt merge=mergeslots
  </code></pre>
  
  <p>I have also tried to use quotes instead of escaping the space.</p>
  
  <pre><code>"Reserved Slots.txt" merge=mergeslots
  </code></pre>
  
  <p>How do I use a custom merge driver for a file with spaces in it?</p>