I have a local git repo, and I have a remote git repo. What is a simple command to see what commit the remote repo is, and what commit the local repo is, so I can simple see if I'm up to date?
This is going to be automated in a program, so I don't want lots of complicated stuff that I would have to parse. Preferably it would be cool to have both local & remote output the same text, with only the commit changing between the two. Any ideas?