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

狂风中的少年 提交于 2019-12-18 11:52:37

问题


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


回答1:


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).




回答2:


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


来源:https://stackoverflow.com/questions/7299237/how-can-i-do-a-git-pull-in-the-gitg-gitx-visual-tool

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!