title: Git LFS: How to make .gitattributes catch multiple extension-less files with the same name, but in different folders, without files with extension
body: <p>I'm trying to set up the .gitattributes for Git LFS to catch all extension-less files with a certain name. They are scattered out across different folders. And I don't want it to catch those with same name, but with an extension.
  Example:</p>
  <pre><code>A/B/C/D/Foo
  A/B/C/D/Foo.meta
  A/B/C/D/E/Foo
  A/B/C/D/E/Foo.meta
  A/B/F/Foo
  A/B/F/Foo.meta
  </code></pre>
  <p>The three Foo files should be catched, but the three Foo.meta-files shouldn't.</p>
  <p>More files of this kind might occur in automatically generated folders throughout production. So hardcoding the paths is not ideal.</p>
  <p>I've tried adding the following to my .gitattributes:</p>
  <pre><code>Foo diff=lfs merge=lfs -text
  </code></pre>
  <p>That almost works, but also catches the Foo.meta-files. The following is not allowed because “Negative patterns are ignored in git attributes”:</p>
  <pre><code>Foo diff=lfs merge=lfs -text
  !.meta diff=lfs merge=lfs -text
  </code></pre>
  <p>Any help would be much appreciated!</p>