skip to navigation
skip to content

Not Logged In

GitGitlab 1.1

gitlab for git

Latest Version: 1.11

GitGitLab: Gitlab Git Plugin
============================

GitGitLab allows you to create Gitlab projects and set them as remote source for your git checkouts.


Installation
------------

.. code::

        sudo pip install gitgitlab


Usage
-----

.. code::

        $ git init
        $ git touch 'readme.txt'
        $ git add readme.txt
        $ git commit -am 'initial commit'
        $ git lab create my_project -t
          Project my_project created on Gitlab
        $ git remotes
          gitlab

Using a custom Gitlab server
----------------------------

By default, gitgitlab uses https://gitlab.com 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

.. note::

        gitgitlab will only use your custom Gitlab server when inside of a git repository.


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.

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**
        Overview.
**git lab <command> --help**
        Help for a specific command.

More information
----------------

See also the `project documentation <http://gitgitlab.readthedocs.org>`_.
 
File Type Py Version Uploaded on Size
GitGitlab-1.1.tar.gz (md5) Source 2014-01-27 3KB
  • Downloads (All Versions):
  • 8 downloads in the last day
  • 61 downloads in the last week
  • 328 downloads in the last month