title: How to compare differences on commit on a single file between 2 branches in Git?
body: <p>A branch and B branch both have A, B, C, D commits and in B, C commits, file <code>xxx.java</code> is changed.</p>
  <p>but A branch has E,F,G,H commits and in F, H commits, file <code>xxx.java</code> is changed.</p>
  <p>Is there a command, after</p>
  <p><code>$git command xxx.java branchA branchB</code></p>
  <p>I can get:</p>
  <pre><code>F -- F commit id(for example, 1fd3bb10d0d8b63c20cf0b2aa0c6f92812cb7b7f)
  H -- H commit id
  </code></pre>
  <p>( I don't need the difference in the specific content of the file, it's something that interferes and wants to be deleted )</p>
  <p>And does IDEA have a visual tool for this situation?</p>
  <p>Thanks a lot.</p>