When I run the git status
command I get the following message:
On branch master
Your branch and 'origin/master' have diverged, and have 1 and 15 different commits each, respectively. (use "git pull" to merge the remote branch into yours)nothing to commit, working tree clean
What I understand from the above message is that I have 1 local change and 15 changes in the remote.
I am pretty sure that the 1 change made locally is just a mistake and I don't want to push it (have it) in the remote. So I need to know what the change is.
I tried the git diff HEAD..origin/master
to see the differences but the problem is that the number of changes are much and I cannot understand what changes (by mistake) I have made in the local master branch.
So, is there any command to see the only changes in my local branch?