How do you push code with gitg?

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?

Answers


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


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


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


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

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


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


Need Your Help

How to use Rails 5.1.0 and jQuery

ruby-on-rails ruby zurb-foundation

I started using Rails v5.1.0 which I understand comes without jQuery as a default, however want to install jQuery to work with Zurb Foundation 6.

Which English tutorial would you advise to learn OCaml?

functional-programming ocaml ml

I want to advertise OCaml to beginners, and I am looking for good tutorials in English; not that you have only heard of, but that you have actually tried and found useful...