how can I do a git pull in the gitg / gitx visual tool?
-
20-01-2021 - |
Domanda
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
Soluzione
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
).
Altri suggerimenti
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
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow