Can't "pull" with smartgit, "fetch only" is available

Tancrede Chazallet picture Tancrede Chazallet · Apr 23, 2014 · Viewed 8.9k times · Source

I use SmartGit as a GUI for git. But so far, I always have the same problem. In my projects (all of them), I can't pull, the button is disabled, it's only the "fetch only" button which is available.

But if I run the command git pull origin master it works fine and I can continue to use SmartGit as usual.

How to get rid of this problem ?

enter image description here

Answer

mstrap picture mstrap · Apr 23, 2014

Make sure that your master is tracking origin/master. You may use Set Tracked Branch in the Branches view to configure tracking.