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

Re: Identifying the last push to a reposiotry

From
Chris Packham <judge.packham@gmail.com>
Date
Mar 2, 2010, 21:13 UTC
Message-ID
<a038bef51003021313j40eb5df3ufd9c6e88d8c2b7c@mail.gmail.com>
In-Reply-To
<27761186.post@talk.nabble.com>
On Tue, Mar 2, 2010 at 1:07 PM, jateeq <jawad_atiq@hotmail.com> wrote:
Show 10 quoted lines
>
> Hello,
>
> I am trying to list all the modifications to the clone of a repository since
> the clone was last pushed to its original. Is there a way to identify the
> commit id of the HEAD(of the clone) when this last push was carried out?
>
> Thanks,
> Jawad
> --
Something like
  git log origin/master..HEAD

Getting more fancy you can do a 'git fetch' first and then you are able to see what has been pushed to the remote but not pulled locally as well.

Previous: jateeq
Message 2 of 2 in “Identifying the last push to a reposiotry”
  1. jateeqMar 2, 2010
  2. Chris PackhamMar 2, 2010

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.