Getting started with Git/GitLab.

Frequently asked questions

Getting started with Git/GitLab.

Postby ES3 » Wed May 18, 2016 7:08 pm

Git (https://git-scm.com/) is a version control system, which is widely used in the software development industry. Its documentation can be found here: https://git-scm.com/doc. This document is based on command-line version of Git.

GitLab (https://about.gitlab.com/) is a front-end web interface for Git. ES3 adopted GitLab since mid 2015 and it is accessible to our collaborators and certain users. It aims to provide file sharing and version control on the shared files (e.g. user-defined source files).

The GitLab server hosted by ES3 can be accessed here: http://gitlab.es3inc.com. Please note it is not open to public, ES3 will create an account for certain users upon request.

GitLab Authentication

There are two protocols with which GitLab does the authentication, one is SSH, the other one is HTTPS.

If you plan to use SSH, follow the instructions (http://gitlab.es3inc.com/help/ssh/README) to set up an SSH key. Please note that you need to set up an SSH key for each account on each computer you will use to interact with the GitLab server.

If you plan to use HTTPS, GitLab will ask for user name and password every time it does the authentication.

For Windows users, we recommend using HTTPS, because it is much easier than setting up an SSH key. For Mac/Linux users, both SSH and HTTPS are straightforward.

Work with GitLab

There are two ways to interact with GitLab:

1) using command-line version Git. For people who prefer command-line approach, please refer to the well written documentation on Git's official website (https://git-scm.com/doc).

Once ES3 creates a Git repository (e.g. Git-Demo) for you, retrieve it to your local computer by running the following command:
Using SSH:
Code: Select all
git clone git@gitlab.es3inc.com:root/Git-Demo.git

Using HTTPS:
Code: Select all
git clone http://gitlab.es3inc.com/root/Git-Demo.git

Please make sure to replace Git-Demo with the real name of your repository.

2) using a Git client with GUI. There are a lot of GUI clients out there (https://git-scm.com/downloads/guis). Many of our users are currently using SourceTree (free, available on Mac and Windows, https://www.sourcetreeapp.com/). Here is good tutorial video about SourceTree on YouTube: https://www.youtube.com/watch?v=srXdUml4_HM.
ES3
 
Posts: 42
Joined: Thu Jul 09, 2015 9:36 pm

Return to FAQs

Who is online

Users browsing this forum: No registered users and 2 guests

cron