Skip to main content

gitlab for git

Project description

GitGitLab: Gitlab Git Plugin

GitGitLab allows you to integrate Gitlab in your git flow.

With GitGitlab, you can create projects, clone them and set them as remote source without leaving the command line.


.. code::

sudo pip install gitgitlab


.. code::

$ git init
$ git touch 'readme.txt'
$ git add readme.txt
$ git commit -am 'initial commit'
$ git lab create -t my_project # Creates project my_project and adds it as remote
Project my_project created on Gitlab
$ git remotes

Command overview

**git lab list**
List your Gitlab projects
**git lab create <project name>**
Create a project on Gitlab
**git lab track <project name>**
Set this project as remote for your local repository.
**git lab open <project name>**
Open a Gitlab project page. If <project name> is omitted, uses the project on the 'gitlab' remote of the repository on the current directory.
**git lab clone**
Clone a Gitlab project.
**git lab auth**
Reset the Gitlab authorization token.

Listing your projects

**git lab list** lists all the projects that you own and their repository url.

Creating a new project

**git lab create <project_name>** creates a new private project on Gitlab.

**git lab create <project_name> --track** creates a new private project and sets it up as remote.

Setting up an existing project to track the local repository

**git lab track <project_name>** Adds a gitlab project as remote.

Obtaining help

**git lab help**
**git lab <command> --help**
Help for a specific command.

Using it from Python

To use gitgitlab from Python, import :mod:`gitgitlab.client`.

Using a custom Gitlab server

By default, gitgitlab uses as the Gitlab server url. If you are using your own Gitlab server, you can configure it using git config.

Configure your custom Gitlab server globally:

.. code::

$ git config --global --replace-all gitlab.url <your server url>

Configure your custom Gitlab server only for the current repository:

.. code::

$ git config --replace-all gitlab.url <your server url>

gitgitlab will try to connect to <your server url>/api/v3

More information

See also the `project documentation <>`_.

Project details

Release history Release notifications

History Node


History Node


This version
History Node


History Node


History Node


History Node


History Node


History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
GitGitlab-1.14.tar.gz (4.7 kB) Copy SHA256 hash SHA256 Source None May 15, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page