Number of pulls/pushes never showing for repo

I currently have four separate repos, and three of them are behaving in Sourcetree as expected, but one is not, and it's causing a lot of confusion.

I created a local repo while waiting for the BitBucket account to be set up. Once that was done, a couple of days later, I hooked my repo up to the remote account. Everything works and I can push & pull without issue... however, the numbers for pushes and pulls never, ever display (by this, I mean the numbers that appears as notifications next to the buttons, or alongside the branch names). No matter how many commits, fetches or branch merges I do, those numbers never, ever display. It's getting really confusing because I'm almost daily having to do a blind pull just in case there's anything on the remote; and I keep losing track of how many commits I have locally that have yet to be pushed, and to which branch.

Any ideas on how to rectify this?

2 answers

1 accepted

Resolved. It turns out that, unless the name of the remote source was 'origin', then it would fetch, push, pull and pull without issue, but never show any pending numbers. I had to change the name of the remote and then do a fetch, and that seems to have solved it.

Thanks for letting us know.

0 vote

Hi,

I've not seen this behaviour. Is there anything different about this repo?

HTTP vs SSH for the url?
Private vs public?
etc

The only thing that's different is that I created it as a local repo initially and did some local commits while I was waiting for the BitBucket repo to be created. Then I added the remote repo after the fact. Other than that, it's identical to all other repos that work fine (all BitBucket, on the same account, private repos).

The only thing I've noticed that was different is the remote name, which was something custom. I've now just checked 'default remote', but it hasn't made an initial difference.

Suggest an answer

Log in or Join to answer
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

270 views 0 3
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot