Skip to main content

No project description provided

Project description


To provide a simple tool for quickly creating private git repos ‘in the cloud’ wherever that may be.


Requires python 3.

pip3 install gt should do the trick, or else python install from source.


Create ~/.gtrc and populate it with sections of the following form

[<source name>]
type=<git source>

where <git source> indicates the source type.

Supported sources at the time of writing include: - gitlab (the service) - ssh (An ssh-able Unix box containing a directory full of repos)



[ s1 ]

[ gl ]

CLI Usage

# gt -l


# gt -c s1/project3

Successfully created s1/project3
git remote add origin ssh://rvaiya@dionysus:/storage/projects/project3

# gt -d gl/projecta

Successfully deleted gl/projecta


The tool is designed to handle as many git sources as possible and so only supports primitive operations (i.e add/remove/delete). Since it is primarily intended for personal use it does not support sophisticated project or permission management features which are commonly found on proprietary collaboration platforms like github.

There will be bugs.


Adding a source should be as simple as creating a python file in gt/sources and defining a class with the following methods:

  • list()
  • delete(name)
  • create(name)

The class name serves as the source type and its constructor’s parameter names are drawn from the relevant section of the config file when instantiating the object.

It is worth noting that the project began life as a bash script and was partly rewritten as an exercise in python by the author. As such things may not be optimally ‘pythonic’ :). If you bother to read the code and invariably feel the need to abuse the person who wrote it, know that such sentiments will be happily received at

Project details

Download files

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

Files for gt, version 0.2
Filename, size File type Python version Upload date Hashes
Filename, size gt-0.2.tar.gz (4.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page