How do you push code with gitg?

18.2k Views Asked by At

I can do everything else I need but with the GUI I cannot seem to figure out how to pull or push code. Pushing is more important in this case, anyone know how?

7

There are 7 best solutions below

3
On BEST ANSWER

Figured it out, not too difficult, just have to right click on the branch name when you are looking at your commit history

3
On

Anyone looking for this feature in gitg 3.14: I got confirmation from a developer that it hasn't been implemented yet.

0
On

You have to clone a repository previously. For example:

git clone https://github.com/manuelkiessling/NodeBeginnerBook.git

Once cloned, go into the downloaded repository and execute gitk

4
On

On the history tab, right click on the name of the tracking branch

screenshot

0
On

Create on .git/hooks a file named post-commit and insert this code

#!/bin/bash
git push -u origin master

and turn this into a executable script

chmod 755 post-commit
0
On

Push action is available starting from version 3.32.0

See NEWS file in "Release 3.32.0" gitg commit

0
On

According to the official project roadmap, it is a feature in todo state; the target release is 0.3 so I assume this table it is not updated so this project is poorly maintained: we can imagine real gnome coders do not use GUIs :)

enter image description here