title: Github/compare: How to diff two different files (different file names, both in HEAD)?
body: <p>Can I use the github <code>/compare</code> to display the difference between two different source files in HEAD?</p>
  
  <p>Here is how I do it on the command line with <code>git diff</code>:</p>
  
  <blockquote>
    <p><code>git diff HEAD:docs/tutorial/01-boxed-function-pointers.cpp HEAD:docs/tutorial/02-raw-actors.cpp</code></p>
  </blockquote>
  
  <p>My best guess at the github syntax is the following. But it doesn't work:</p>
  
  <p><a href="https://github.com/RossBencina/Fractorp/compare/HEAD:docs/tutorial/01-boxed-function-pointers.cpp...HEAD:docs/tutorial/02-raw-actors.cpp">https://github.com/RossBencina/Fractorp/compare/HEAD:docs/tutorial/01-boxed-function-pointers.cpp...HEAD:docs/tutorial/02-raw-actors.cpp</a></p>
  
  <p>I specifically want an on-line pretty-printed HTML render of the diff.</p>
  
  <p>If this can't be done with github, can anyone recommend a third-party website that will render diffs of two arbitrary files hosted on github?</p>
  
  <h2>Edit #1:</h2>
  
  <p>Thanks to the answers who recommended <a href="https://www.diffchecker.com">https://www.diffchecker.com</a>. However, I need to be able to specify the source files as current HEAD on github. Any third-party tool would need to automatically pull the latest source files from github repo URLs. I notice that <a href="http://www.mergely.com">http://www.mergely.com</a> can <em>import</em> source from URLs. However I am looking for a live view that always uses the latest HEAD.</p>
  
  <p>Thank you.</p>