SourceTree for Windows 8 does not update Remote Repository State

Hey guys,

it seems my SourceTree client ( on Windows 8 does not update the Pull and Push buttons after a Fetch with a red number (indicating how many commits i am behind/ahead) like it used to. Neither it shows the number of commits ahead / behind on none of my branches in none of the sidebars (repository view / project view)

2 answers

1 accepted

2 votes
Answer accepted

This suggests your local branch is not tracking the remote branch, which is how both of these things (pull/push counts and default pull branch) are derived.

Right-click your local branch in the sidebar, then select 'Track remote branch' and pick the remote branch which you expect your local one to track.

Another way is to tick the box in the 'Track?' column when you next push your branch using the main Push dialog.

FYI branch tracking is set up when you checkout a remote branch to a local branch, or when you first push a new branch to a remote. I'm not sure how this would have got disconnected in your case but the tracking state is a git repo setting under the hood which SourceTree just uses (and allows you to alter).

Seems like right-clicking on the branch and tracking the remote fixed it. I always had them tracking their remotes and i always had those boxes checked when pushing. Seems like i broke my settings without knowing.

I may note that when i try to pull the develop / master branch the remote-counterpart ("Remote branch to pull:") would not be pre-selected as it always was.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

1,219 views 4 2
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