How do I know if there have been changes to a remote tracked repo that
have not been pulled to my local repo, from my local repo without
actually doing a pull?

My scenario is as follows.  I have a bare repo on my "git server", a
repo on the production server, and a repo on my development machine.
I need to run a script on my production server that checks to see if
it is up to date with the bare repo on the git server.

I will probably just compare the output of git-log from the bare repo
to the same output on the production server using ssh (since, in the
end it seems that's what git would do anyways), but I was wondering if
there was an actual git command that accomplishes the same task.
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to