Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you push code with gitg?

Tags:

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?

like image 526
labago Avatar asked Oct 18 '12 18:10

labago


People also ask

How do I push a git repository code?

Perform a git init command in the root folder of the existing project. Add all of the existing project's files to the Git index and then commit. Add the GitHub repo as a remote reference for the existing project. Perform a git push operation with the -u and -f switches.

How do I push to a remote repository?

To push the commit from the local repo to your remote repositories, run git push -u remote-name branch-name where remote-name is the nickname the local repo uses for the remote repositories and branch-name is the name of the branch to push to the repository. You only have to use the -u option the first time you push.


2 Answers

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

like image 173
jgillich Avatar answered Dec 21 '22 07:12

jgillich


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

like image 37
labago Avatar answered Dec 21 '22 07:12

labago