Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

source tree doesnt showing remote branches when taking a pull

Deleted user May 1, 2019

I am not able to pull from a remote branch using source tree as the remote branch where I'm trying to pull the changes is not listed in the "Remote branch to pull" dropdown.

I tried adding account/regenerating the RSA key, but no luck. I facing this issue after installing the latest release 3.1.2.3027. Note this was working fine with the older installations.

2 answers

0 votes
Jayden MacRae August 16, 2022

For some reason, my branch was not tracking the remote. Ensure your local branch is tracking the report. From your local branch:

$ git branch -u <remote>/<branch>

where <remote> and <branch> represent the name of your remote and the branch to track

This resolved my problem in SourceTree not 'remembering' the remote branch to push to each time.

0 votes
Mike Corsaro
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 9, 2019

Hello! Does the remote branch appear in the sidebar under "Remotes"?

If it doesn't, could you try and run "Fetch" and see if it appears?

 

If none of that works, you can also manually pull by clicking "Terminal" and typing

git pull origin THE_REMOTE_BRANCH_NAME

(Note: if your remote name is not origin then you'll need to replace it)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events