git/list[1] front-page[2] threads[3] people[4] search[5] about
 

View remote logs?

From
TJTodd A. Jacobs <nospam@codegnome.org>
Date
Oct 14, 2008, 07:19 UTC
Message-ID
<20081014071907.GP16999@penguin.codegnome.org>

I've Googled around, and tried some experiments with likely-looking tools like git log, git diff, and git ls-remote, but they only seem to operate on the local repository. In particular, there doesn't seem to be an obvious way to view the commit logs on a remote repository without pulling it first.

On an intuitive level, it seems like "git log origin" would allow me to see what someone has committed to a remote repository so I can decide whether it's something I want to pull. Even something like "git diff HEAD origin" would let me know if there were changes I might want to pull before doing so.

Am I missing something obvious? Is it possible to use the CLI to view remote logs, or is the only choice to pull everything?

-- 
"Oh, look: rocks!"
	-- Doctor Who, "Destiny of the Daleks"
Next: Jeff King
Message 1 of 3 in “View remote logs?”
  1. Todd A. JacobsOct 14, 2008
  2. Jeff KingOct 14, 2008
  3. Michael J GruberOct 14, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.