# Identifying the last push to a reposiotry

2 messages from 2010-03-02 to 2010-03-02. Participants: jateeq, Chris Packham.
Thread: https://gitlist.dev/t/22884

## jateeq, 2010-03-02 21:07

Subject: Identifying the last push to a reposiotry
Message-ID: <27761186.post@talk.nabble.com>
URL: https://gitlist.dev/e/27761186.post%40talk.nabble.com

```

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, 2010-03-02 21:13

Subject: Re: Identifying the last push to a reposiotry
Message-ID: <a038bef51003021313j40eb5df3ufd9c6e88d8c2b7c@mail.gmail.com>
URL: https://gitlist.dev/e/a038bef51003021313j40eb5df3ufd9c6e88d8c2b7c%40mail.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:
>
> 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.

```
