Netbeans: How to show all (git) commits to be pushed?

How to show everything (git) what Netbeans will do? Netbeans 7.3 just pops everything without first listing all the commits (e.g. IntelliJ IDEA).

+4
source share
2 answers

The current NetBeans Git push plugin dialog does not support any preview options.

What is missing is the simple log function, as shown in the Git push preview section:

 git log origin/master..master 

But depending on your push policy and remote refspec, this may be more complex (you can push multiple branches instead of one).
You need to (like this script ) interpret the result:

 git push --dry-run --porcelain 

The NetBeans Git plugin does not implement this, leaving you with only a workaround for the command line .

+4
source

In NetBeans 8, you can see your local commits by right-clicking on the Git project → Remote-> Show Outgoing;

i.e.

Show B / Outbox displays unrequited (unverified) data in (from) a specific branch.

+2
source

Source: https://habr.com/ru/post/1481491/


All Articles