A Quick Introduction to Using Gitlab

This is a brief introduction to the use of Gitlab, a front-end (web user interface) to Git. For general introduction to Git itself please use other resources, such as the ones listed in CSCI 363 resources page

Gitlab is a distributed version control system. Gitlab provides a web user interface to using the core Git software. A user can share his/her software repository created and maintained by Git through Gitlab.

A general workflow for a user to use Bucknell's Gitlab is as follows. The detailed steps are in the section following this one.

In the course context such as CSCI 363, a typical student would have to do the following steps to share her Git repository with the instructor so the instructor can collect and grade student work, and then send back the comments to students through Git.

Detailed Step-By-Step Instructions to Create Gitlab Repository

How to Add Directories And Files to a Gitlab Project

Now that you haven owned a Git project both on the Gitlab server and on your local Linux account, you can create more directories and files under the Git structure and share them with your teammates or your instructor.

The basic idea is that you can create, revise, or remove any files under the current local Git tree, e.g., under your csci363 directory. When you revise any existing files or create any new files, you should manually add the them to the local copy of Git by using the command git add and commit to the local Git copy by using the command git commit. You can synchronize the repository with remote (web) Git server by using the pull (from the Git server) and push (to the Git server) commands.

Here are a few commonly used commands to manage your Git repository.