Skip to main content

Clones sets of git repositories

Project description

Manages sets of git repositories.

  • Clone all sets

  • Clone specific set

  • Fast forward all repositories

  • Clone and add to set in a single command

  • Configuration can be stored online

Why is Glit is different from other git managers?

Glit can handle more than one set of repositories

Let’s say that you work on more than one project at once. With Glit you can share the file with the set of repositories associated with a specific project with those involved in that project. Most other git managers only allows one set of repositories.

Glit has built in support for online shared configuration

You can configure a set of repositories either in a local file or point to a file in a git repository. If choosing the latter storage type Glit will take care of keeping the file in sync.

Example config

~/.glit/sets

[work-common]
folder: ~/repos/work/
storage: git
repository: ssh://git.mycompany.com/project/configuration
file: ~/work/common.repositories
[work-team]
folder: ~/repos/work/
storage: git
repository: ssh://git.mycompany.com/myteam/configuration
file: ~/work/myteam.repositories
[private]
folder: ~/repos/private/
storage: local
file: ~/somecool.repositories

~/somecool.repositories

. git@github.com:vandmo/glit.git
cool/libs https://github.com/pallets/click
cool/libs https://github.com/awslabs/cfn-python-lint.git

Commands

  • glit clone-all

  • glit clone-set private

  • glit clone --to-set private --prefix vandmo/python git@github.com:vandmo/glit.git

  • glit config add-locally-stored-set --folder '~/repos/private/' '~/somecool.repositories'

  • glit config add-git-stored-set --folder '~/repos/private/' git@github.com:vandmo/glit.git 'somereallycool.repositories'

Project details


Release history Release notifications | RSS feed

This version

0.21

Download files

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

Source Distribution

glit-0.21.tar.gz (5.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page