Why doesn’t git show that I’m ahead of origin?

Viewed 131

Ubuntu 16.04

I know that I have organized a remote repository.

I can execute:

git add .
git commit -am "Savepoint"

Then I can check:

michael@Thinkpad:~/PycharmProjects/photoarchive_2$ git status
On branch master
nothing to commit, working directory clean

But I know that I'm ahead of origin.

I execute:

git push origin master

And now I can see my commit at the remote repository.

I expect git to show me the information like:

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

Could you tell me there is no such information shown?

ADDED LATER:

git show-branch -a
* [master] Started working with Image
 ! [origin/master] Started working with Image
--
*+ [master] Started working with Image
1 Answers
Related