title: Checking out multiple files of the same name in Git
body: <p>I merged from several other branches on a big project with multiple eclipse projects, and ended up with a bunch of org.eclipse.jdt.core.prefs settings being changed, that I'd like to revert on my branch. Is there magic command I can use to 'reset' only these files, over all the eclipse projects in my git repo?</p>
  
  <p>I tried something along the lines of</p>
  
  <pre><code>git checkout origin/BRANCH_WITH_CORRECT_FILES -- *org.eclipse.jdt.core.prefs
  </code></pre>
  
  <p>This returns</p>
  
  <pre><code>error: pathspec '*org.eclipse.jdt.core.prefs' did not match any file(s) known to git.
  </code></pre>
  
  <p>Is this because of the *? How can I get around it?</p>