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]

Install Git Cola from Ubuntu Software Center
2) Copy the repository link from the website

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

Once you launch the Git Cola click “Clone” and paste the link you have copied from Github

Once you provided the link, select where to download the repository and click “Open”

This is the main window. It’s empty because we haven’t changed any 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 "[email protected]"[/code]

To edit your preferences, click on “Edit –> Preferences”
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]

Open the file that you need to edit and start editing. Save and close the file
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]

Click Stage, add some comment and then commit
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]

Create tag by clicking “Actions –> Add Tag”
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]

Click on “Push” on the main window, check that “Include tags” is activated and then click Push

Provide your Username and Password of your Github account

Check the commands tab to see the background messages
8) Now you can go to your Github page to see your changes and your tags

Refresh the GitHub page to see your comment and the commit history
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?

crypton480
Thank you for this! It was just what I was looking for..
Salih
I am glad to be helping you
Canal
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.
Salih
Thaks for your kind words