title: git pre-push hook, don't run if is --tags
body: <p>I have a prepush hook that tests my code, however, it also runs when I do a <code>git push --tags</code>.  Is there any way to avoid this?</p>
  
  <p>Maybe there's some way to check if its a regular push or if its a <code>--tags</code> push?</p>
  
  <p><strong>Update</strong> - These are the only arguments I was able to find:</p>
  
  <ul>
  <li>$1 is the name of the remote</li>
  <li>$2 is url to which the push is being done</li>
  </ul>