gitgit-pullsmartgit

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


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


Solution

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