Preview a git push
- by Saverio Miroddi
How can I see which commits are actually going to be pushed to a remote repository?
As far as I know, whenever I pull master from the remote repository, commits are likely to be generated, even if they're empty.
This causes the local master to be 'forward' even if there is really nothing to push.
Now, if I try (from master):
git cherry origin master
I have an idea of what's going to be pushed, though this also display some commits that I've already pushed.
Is there a way to display only the new content that's going to be pushed?