Finding Commits to Push

After some tireless searching for a git command that would yield a listing of local commits that have not been pushed to a target, I popped into the #git IRC channel and posed the question. I was promptly answered by Mikachu:


git log origin..

Yes, that command includes the two periods.