Identifying the last push to a reposiotry
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.
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.