Using Git, show all commits that are in one branch, but not the other(s) - Stack Overflow
You can use this simple script to see commits that are not merged #!/bin/bash # Show commits that exists only on branch and not in current # Usage: # git branch-notmerge # # Setup git alias # git config alias.branch-notmerge [path/to/this/script ......