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
- Host: GitHub
- URL: https://github.com/awesmubarak/gitget
- Owner: awesmubarak
- License: mit
- Created: 2017-06-12T14:08:11.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-02-01T15:15:21.000Z (almost 6 years ago)
- Last Synced: 2024-10-10T09:21:23.977Z (about 1 year ago)
- Topics: git, github, package-manager
- Language: Python
- Homepage:
- Size: 85 KB
- Stars: 11
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Gitget
Package manager for git repositories.
[](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.