How to show all (git) commits than will be pushed within Netbeans ? Netbeans 7.3 simply pushes everything without showing a list of all commits first (like IntelliJ IDEA does).
The current NetBeans Git plugin dialog for push doesn't support any preview option.
What is missing a simple
log feature, as shown in "Preview a git push":
git log origin/master..master
But depending on your push policy, and remote refspec, it can be more complex (you can push several branches instead of one).
You need (as with this script) to interpret the result of:
git push --dry-run --porcelain
NetBeans Git plugin doesn't implement that, which leaves you only with a command-line workaround.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!Donate Us With