An open API service indexing awesome lists of open source software.

https://github.com/awesmubarak/gitget

Package manager for git repositories
https://github.com/awesmubarak/gitget

git github package-manager

Last synced: 7 months ago
JSON representation

Package manager for git repositories

Awesome Lists containing this project

README

          

# Gitget

Package manager for git repositories.

[![asciicast](https://asciinema.org/a/270298.svg)](https://asciinema.org/a/270298)

## Installation

To install from pypi run:

```sh
pip3 install gitget-pm
```

## Usage

Gitget allows you to manage repositories download from git hosts like github or
gitlab. The repositories are treated like software 'packages', and basic tasks
such as downloading and saving information about repositories, updating
repository, and removing them once they aren't needed anymore. The contents of
the git repositories is not changed; installation scripts are not run and
dependencies are not installed (yet).

### Help

gitget -h
gitget --help
gitget help

Displays a help menu. If the `help` command is used, a help menu for a specific
command is displayed.

### Install

gitget install
gitget install

Downloads a repository from github and saves information about it.
Optionally, a name for the package can be specified. This name will also
be used as the directory name. Otherwise, the package name is set to
`username/repository`.

### Remove

gitget remove
gitget remove --soft

Removes a repository from the package list and also deletes the files locally.
If the `--soft` flag is passed, the local files will not be deleted.

### Update

gitget update

Runs `git-pull` on all packages in the package list to update them.

### Move

gitget move

Moves a package from location to another and updates the information about it.

### Doctor

gitget doctor

Verifies integrity of files and packages. Any errors are then reported
and need to be fixed.

### List

gitget list

Lists all packages and install locations.

### Edit

gitget edit

Opens the default editor (run `echo $EDITOR`) to edit the package file.

### Setup

gitget setup

Creates the `.gitget.yaml` package file, where all the package information is
saved.