{"thread":{"id":"22884","subject":"Identifying the last push to a reposiotry","startedAt":"2010-03-02T21:07:08Z","lastAt":"2010-03-02T21:13:09Z","messageCount":2,"participants":["jateeq","Chris Packham"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"136037","messageId":"27761186.post@talk.nabble.com","threadId":"22884","inReplyTo":null,"subject":"Identifying the last push to a reposiotry","fromName":"jateeq","fromEmail":"jawad_atiq@hotmail.com","sentAt":"2010-03-02T21:07:08Z","receivedAt":"2010-03-02T21:07:08Z","isPatch":false,"sender":{"key":"jawad_atiq@hotmail.com","avatar":null},"body":"\nHello,\n\nI am trying to list all the modifications to the clone of a repository since\nthe clone was last pushed to its original. Is there a way to identify the\ncommit id of the HEAD(of the clone) when this last push was carried out? \n\nThanks,\nJawad\n-- \nView this message in context: http://old.nabble.com/Identifying-the-last-push-to-a-reposiotry-tp27761186p27761186.html\nSent from the git mailing list archive at Nabble.com.\n"},{"id":"136038","messageId":"a038bef51003021313j40eb5df3ufd9c6e88d8c2b7c@mail.gmail.com","threadId":"22884","inReplyTo":"27761186.post@talk.nabble.com","subject":"Re: Identifying the last push to a reposiotry","fromName":"Chris Packham","fromEmail":"judge.packham@gmail.com","sentAt":"2010-03-02T21:13:09Z","receivedAt":"2010-03-02T21:13:09Z","isPatch":false,"sender":{"key":"judge.packham@gmail.com","avatar":"https://avatars.githubusercontent.com/u/155667?v=4"},"body":"On Tue, Mar 2, 2010 at 1:07 PM, jateeq <jawad_atiq@hotmail.com> wrote:\n>\n> Hello,\n>\n> I am trying to list all the modifications to the clone of a repository since\n> the clone was last pushed to its original. Is there a way to identify the\n> commit id of the HEAD(of the clone) when this last push was carried out?\n>\n> Thanks,\n> Jawad\n> --\n\nSomething like\n\n  git log origin/master..HEAD\n\nGetting more fancy you can do a 'git fetch' first and then you are\nable to see what has been pushed to the remote but not pulled locally\nas well.\n"}]}