Git utility for auto-committing and concurrent pushing
Project description
git pp: Git utility for auto-committing and concurrent pushing
Powered by asyncio
, with no dependency besides python>=3.10
.
Features
- Auto-stages and commits with custom or generated commit messages
- Pushes to multiple or all remotes of a git repository concurrently with
asyncio
- Operates on any number of git repositories at the same time
Demo
Installation
pipx
This is the recommended installation method.
$ pipx install git-pp
pip
$ pip install git-pp
AUR
For Archlinux.
$ yay -S python-git-pp
Usage
$ git pp -h
usage: git pp [-h] [-m COMMIT_MESSAGE] [-v] [-so] [-p] [-po] [-r REMOTE [REMOTE ...]] [-b BRANCH] [-f] [-t TIMEOUT] [DIRS ...]
Git utility for auto-committing and concurrent pushing
positional arguments:
DIRS Dirs to operate on (default: ['.'])
options:
-h, --help show this help message and exit
-m COMMIT_MESSAGE, --commit-message COMMIT_MESSAGE
commit message (default: None)
-v, --version show program's version number and exit
-so, --status-only Prints status only (default: False)
-p, --push Push to all remotes (default: False)
-po, --push-only Push to all remotes, without pre_pull (default: False)
-r REMOTE [REMOTE ...], --remote REMOTE [REMOTE ...]
Remote name (default: None)
-b BRANCH, --branch BRANCH
Branch name (default: None)
-f, --force Force push (default: False)
-t TIMEOUT, --timeout TIMEOUT
Timeout for a single push (default: None)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
git-pp-1.3.0.tar.gz
(6.8 kB
view hashes)
Built Distribution
git_pp-1.3.0-py3-none-any.whl
(8.0 kB
view hashes)