https://github.com/byron/pgit-distro
A multi-platform distribution for using the pgit commandline tool
https://github.com/byron/pgit-distro
Last synced: about 1 year ago
JSON representation
A multi-platform distribution for using the pgit commandline tool
- Host: GitHub
- URL: https://github.com/byron/pgit-distro
- Owner: Byron
- License: mit
- Created: 2014-04-30T10:14:17.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-06-05T15:20:14.000Z (about 12 years ago)
- Last Synced: 2025-02-12T14:16:02.023Z (over 1 year ago)
- Language: Python
- Size: 195 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://travis-ci.org/Byron/pgit-distro)
The pgit distribution allows to run pgit without requiring root permissions, both on posix platforms and on windows. It comes with all python dependencies, and need nothing more than a python interpreter to run.
In it's current state, it will help you with managing git-submodules.
## Requirements
* python 2.6 or above
- currently, python 2.7 is configured to be used
- interpreter must be configured to be able to launch executable python files
* git 1.7 or newer
- to checkout repositories
## Installation
All you have to do is to clone this repository, and update all submodules as follows:
```bash
git clone https://github.com/Byron/pgit-distro
cd pgit-distro
git submodule update --init --recursive
```
## Usage
As pgit is a commandline utility, you will need a terminal to control it.
Here are a few examples
```bash
# Display information about all available subcommands
./bin/pgit -h
# list all submodules in the repository at the current working directory
./bin/pgit submodule query
# call pgit, but use python 2.6 (assuming it is installed in one of the standard locations)
./bin/pgit submodule query ---packages.python.version=2.6
# Learn about everything pgit submodule can do
./bin/pgit submodule -h
```
## License
All files contains in this repository are [MIT licensed](http://opensource.org/licenses/MIT).
## More Information ...
... about pgit's capabilities can be found in the [repository of the package itself](https://github.com/Byron/pgit)