threads / discuss / 22884

Identifying the last push to a reposiotry

Subject: Identifying the last push to a reposiotry

## tl;dr

2 messages between Mar 2, 2010 and Mar 2, 2010.

replies: 1people: 2as markdown or json

jateeq· Mar 2, 2010, 21:07 UTC · lore
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

-- 
View this message in context: http://old.nabble.com/Identifying-the-last-push-to-a-reposiotry-tp27761186p27761186.html
Sent from the git mailing list archive at Nabble.com.
Chris Packham· Mar 2, 2010, 21:13 UTC · re: jateeq · lore

Re: Identifying the last push to a reposiotry

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.

← back to recent threads