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