fatal: couldn't find remote ref

Viewed 2738

I am trying to pull changes from a remote branch that I made sure it exists, but when I use source tree to pull from it , this message keeps popping up "fatal: couldn't find remote ref" , how can I solve this?

1 Answers

Start with, in command line under your repository folder:

git branch -avv

If you see your branch without an associated upstream branch, you can add one:

git branch -u myBranch origin/myBranch

Then SourceTree should be able to pull it.

Related