Reputation: 16494
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).
Upvotes: 5
Views: 2639
Reputation: 367
In NetBeans 8 you can see your local commits by right-clicking on the project Git->Remote->Show Outgoing;
i.e.
Show In/Outgoing is displaying unpulled (unpushed) commits into (from) a specific branch.
Upvotes: 4
Reputation: 1326556
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.
Upvotes: 4