Normally when I run git status
on a master
branch that has a corresponding remote I get info that gives me a comparison between my current branches state and its remote (at the last point communication occurred), e.g. something like
your branch is X commits ahead of 'origin/master'
or
Your branch is up-to-date with 'origin/master'
In a git repository I created a new branch
git checkout -b new_branch
- added some new commits
- and pushed to to remote
Now if I add any new commits to my local repository on the new_branch
and run git status
it doesnt give me any information about how my local branch compares to its remote.
How can I get git to report this information automatically, like it does on master?