Skip to contentSkip to conversation

Identifying the last push to a reposiotry

DISCUSSION jateeq 2 participants 2 messages Jun 15, 2016

lore
Share & tools
lore

jateeq

author
#0 lore raw

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

Signature · 2 lines
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.
#1 lore raw
Quoted 10 lines · jateeq

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.