title: Git view latest log message for specific file in remote repository
body: <p>I'm using a local Git project repository, and have created a remote repository followed by pushing the contents of my local repository to the remote repository using the <code>git push origin master</code> command. I can now perform commits and other tasks just fine.</p>
  
  <p>What I'm trying to do now is retrieve the latest commit log message for a specific file <strong>from the command-line</strong> on the remote server. On the local server I can retrieve this information by executing:</p>
  
  <pre><code>git log -1 --format="%cr %s"  test.docbook
  </code></pre>
  
  <p>However how can I perform the same on the remote server? Executing the above command from within the remote repository always returns:</p>
  
  <pre><code>fatal: ambiguous argument 'test.docbook': unknown revision or path not in the working tree.
  Use '--' to separate paths from revisions
  </code></pre>
  
  <p>Surely there's some way to accomplish this?</p>
  
  <p>Thanks!
  Jason</p>