Viewing unpushed Git commits

git log origin/master..HEAD

You can also view the diff using the same syntax

git diff origin/master..HEAD

Leave a Comment