Usage
This tool can be used to manage many Git repositories at once through the command line. It can display repositories that contain uncommitted code or not yet pushed commits. In the future, this tool is meant as a high-level synchronization tool for repository configurations across multiple machines.
For a quick introduction, let me show how you would use the tool to get started.
gitool status -d ~/git/
This command will collect status information for all repositories in ~/git/ and display a summary when done. As can be seen above, you have to specify a directory where all your repositories are located in.
Installation
From PyPI
pip install gitool
From Source
./setup.py install
Fedora
sudo dnf copr enable eikendev/gitool
sudo dnf install python3-gitool
Configuration
A configuration file can be saved to ~/.config/gitool/config.ini to avoid specifying the path for each invocation. Of course, $XDG_CONFIG_HOME can be set to change your configuration path. Alternatively, the path to the configuration file can be set via the --config-file argument.
[GENERAL]
RootDir = ~/git/
Development
The source code is located on GitHub. To check out the repository, the following command can be used.
git clone https://github.com/eikendev/gitool.git
Release files for gitool 1.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gitool-1.2.1.tar.gz | 11.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gitool-1.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 21.2 kB
Release files / gitool-1.2.1.tar.gz
| Download URL | gitool-1.2.1.tar.gz |
|---|---|
| Size | 11.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b808cdcbe7ca078a3de0c329db64041a1119c88443948955262e5ee691da3210
|
|
BLAKE2b-256 checksum How to use checksums |
9ccbdd2683607bbbafb4a0e2c7ebdc569af4e5eed877b1a349483efd5a8d6852
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1
|
Release files / gitool-1.2.1-py3-none-any.whl
| Download URL | gitool-1.2.1-py3-none-any.whl |
|---|---|
| Size | 10.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4fe6cb12343b0649611e35e3c3780f146740754d82b1e839a4986ba419dcf5bb
|
|
BLAKE2b-256 checksum How to use checksums |
790be11d6a5787e10d8d86d653b05557d0399d75af9ba5ed3491e105d2f1dbeb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1
|