0

I am using git. I did merge a origin branch with my local master branch. After this merge, I check status of the git using 'git status' command. Now I get the following result.

Your branch is ahead of 'origin/master' by 14 commits.

I just want to see what are the 14 commits that differs my master branch with origin/master? How can I see those 14 commits?

Smith Dwayne
  • 2,675
  • 8
  • 46
  • 75

1 Answers1

0
git diff <local branch> <remote>/<remote branch>

For an example, if the git diff master origin/master

Ishan Thilina Somasiri
  • 1,179
  • 1
  • 12
  • 24