how can I do a git pull in the gitg / gitx visual tool?

后端 未结 2 1993
独厮守ぢ
独厮守ぢ 2020-12-29 08:56

I can do a push using gitg and push my code to the remote master branch but I can\'t see any option to do a git pull.

I am on Ubuntu 10 and 11

相关标签:
2条回答
  • 2020-12-29 09:33

    In gitg 0.2.4, you cannot pull directly, so you also fetch and merge:

    • fetch by going in the repository properties, select the remote repo and cli
    • display all branches of the remote, and merge the branch you want (origin/master most of the time) by right-clicking on the tip of the branch
    0 讨论(0)
  • 2020-12-29 09:43

    You cannot directly pull from git gui, but given than a pull is a fetch followed by a merge, you can fetch the remote (in the remote menu and fetch from), and then merge the remote branch into yours (Merge menu and Local merge, select tracking branch).

    0 讨论(0)
提交回复
热议问题