Hi,
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 git push origin master
command. I can now perform commits and other tasks just fine.
What I'm trying to do now is retrieve the latest commit log message for a specific file from the command-line on the remote server. On the local server I can retrieve this information by executing:
git log -1 --format="%cr %s" test.docbook
However how can I perform the same on the remote server? Executing the above command from within the remote repository always returns:
fatal: ambiguous argument 'test.docbook': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions
Surely there's some way to accomplish this?
Thanks! Jason