Github and Git Cola GUI combination make VCS easy to manage, fun and productive. As stated in a previous post, Github doesn’t have an official UI app for Linux.
That is not a problem as many Linux users are very familiar with the terminal, so using a GUI app for managing the code on Github would not be their first choice. Nevertheless, there are many GUI apps on Linux for managing Git repositories but usually, they are ugly 🙂
The following tutorial (gallery) is a Step by step guide for management of Github with Git Cola GUI. It will help you understand how you can manage to migrate from terminal to a GUI app. So if you are already familiar with git in terminal then this tutorial is for you! If you are not yet familiar wit Git and Github and you want to jump start, you should definitely read this: git – the simple guide: No deep shit ;)!
Github Git Cola GUI
If you have ever worked with git you may have been working with the same workflow. Every step that is presented in this tutorial has an equivalent terminal based git command:
1) Install Git Cola GUI through Software Center or through terminal:
[code lang=”bash”] sudo apt-get install git-cola [/code]

2) Copy the repository link from the website

2) Launch Git Cola and paste the link. In terminal, it’s equivalent of
[code lang=”bash”] git clone /github/repo/link.git[/code]



3) You can edit your preferences by clicking Edit menu were you can customize your settings like email, username, prepared editor etc.
In terminal it’s equivalent of:
[code lang=”bash”]git config –global user.name "John Doe"
git config –global user.email "johndoe@mail.com"[/code]

4) Now edit some files inside your local repository clone and the hit the refresh Rescan button on Git Cola.
In terminal, it’s equivalent of
[code lang=”bash”]git status[/code]
and
[code lang=”bash”]git diff[/code]

5) Now once you can hit Stage, Comment to add a message for the changes and the Commit these changes:
In terminal, it’s equivalent of
[code lang=”bash”]git add filename[/code]
and then
[code lang=”bash”]git commit -m "Commit message"[/code]

6) You can also Tag your changes to create versions of your repo by clicking Actions menu –> Create Tag
In terminal, it’s equivalent of
[code lang=”bash”]git tag -a v4.5.6 -m ‘my version 4.5.6′[/code]

7) Now you can upload (push) your changes and versions (tags) to your GitHub account.
In terminal, it’s equivalent of
[code lang=”bash”]git push origin master[/code]
and your tag with
[code lang=”bash”]git push origin v1.0.4[/code]



8) Now you can go to your Github page to see your changes and your tags

Hopefully, this tutorial will be useful for you. Please leave a comment if you have any feedback. Do you use other Linux based Git GUI apps?
4 responses to “Github: Step by step management of Github with Git Cola GUI”
Thank you for this! It was just what I was looking for..
I am glad to be helping you
Hello to every one, for the reason that I am really eager of reading
this web site’s post to be updated regularly.
It contains good information.
Thaks for your kind words