How do I view the latest commits of a remote Git repository without making a clone first?
commit, git
Solution
This is probably not exactly what you want, but you could create a shallow clone using the `--depth` option to `git clone`. That clones only the last n revisions. It still copies all the content, though.
For XML-like formatting you could use a custom log format like this:
git log --pretty=format:'<commit><author>%ae</author><subject>%s</subject></commit>'
Problem
I want to get a list of the latest commits on a certain remote Git repository. However, I do not want to create a clone because that takes too long. With SVN, I can simply pass along a username and password. With Git I haven't found an option to do this. Also, is there an XML output option like with SVN?