title: IntelliJ and git, how to ignore white space changes from IDEA?
body: <p>Using <code>git</code>, we can <code>git diff --check</code>, which would </p>
  
  <blockquote>
    <p>-- warn if changes introduce trailing whitespace or space/tab indents</p>
  </blockquote>
  
  <p><strong>Can I configure <code>IntelliJ</code> to only detect change if it does not begin and end with whitespace modifications? (like formatting)</strong></p>
  
  <p>In other words, when i click this icon, i only want to see changes made to my code, excluding formatting and other white space changes</p>
  
  <p><img src="https://i.stack.imgur.com/vveIn.png" alt="enter image description here"></p>