Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/flashdagger/git-subrepo-pypi

python package for installing git-subrepo
https://github.com/flashdagger/git-subrepo-pypi

Last synced: 3 months ago
JSON representation

python package for installing git-subrepo

Awesome Lists containing this project

README

        

# Git subrepo python package
Provides easy deployment for [git subrepo](https://github.com/ingydotnet/git-subrepo).
Read the [changes](https://github.com/ingydotnet/git-subrepo/blob/0.4.6/Changes) for current release.

## How to use
### Prerequisites
- git >= 2.10.0 [set in PATH variable]
- python >= 3.6

### Installation
Stable releases can be installed via [PyPI](https://pypi.python.org/pypi/git-subrepo):
```bash
$ pip install git-subrepo
# or
$ pipx install git-subrepo
```

### Usage
Run the subrepo command to see usage
```bash
subrepo
```

You can show help for any command
```bash
subrepo help status
```

### shell support
If you need to use subrepo as `git subrepo` command use the init scripts

#### Bash
```bash
$ source git-subrepo-init.sh
$ git subrepo version
```

#### Cmd
```bash
> git-subrepo-init.bat
> git subrepo version
```

#### PowerShell
```bash
PS> .\git-subrepo-init.ps1
PS> git subrepo version
```

## License
[MIT license](LICENSE).