Git Repo Checker
CLI to get status of git repositories.
Installation
Pip
To install using pip simply run the command below:
pip install gitrepochecker
Nix/NixOS
Repo checker can be installed using Nix Flakes, see the section below.
Nix Flakes
Add the required inputs to your flake configuration:
flake.nix
{
description = "NixOS configuration with gitrepochecker";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-25.11";
repochecker = {
url = "github:olillin/repochecker";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = {
self,
nixpkgs,
...
} @ inputs: {
nixosConfigurations.yourconfiguration = nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs;};
modules = [
./configuration.nix
];
};
};
}
Install the package in your configuration.nix or an imported module:
configuration.nix
{
pkgs,
inputs,
...
}: {
environment.systemPackages = with pkgs; [
inputs.repochecker.packages.${pkgs.stdenv.hostPlatform.system}.default
];
}
Usage
usage: repochecker [-h] [-i | -a] [-s | -r] [-d RECURSION_DEPTH] [-b] directory
Check git repository information and get a summary
positional arguments:
directory
options:
-h, --help show this help message and exit
-i, --invert
-a, --all
-s, --single
-r, --recursive
-d RECURSION_DEPTH, --recursion-depth RECURSION_DEPTH
-b, --brief
Example response
C:\Users\oli\Workspaces>repochecker .
C:\Users\oli\Workspaces\Blockstates
Is git repo: False
C:\Users\oli\Workspaces\RepoChecker
Is git repo: True
Current branch: None
Branches:
* main -> origin/main
No uncommited changes: False
No unpushed commits: True
No stashed changes: True
C:\Users\oli\Workspaces\XaeroMerge
Is git repo: True
Current branch: None
Branches:
* main -> origin/main ahead 1
No uncommited changes: False
No unpushed commits: False
No stashed changes: True
Metadata
Release files for gitrepochecker 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gitrepochecker-0.3.0.tar.gz | 5.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gitrepochecker-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.1 kB
Release files / gitrepochecker-0.3.0.tar.gz
| Download URL | gitrepochecker-0.3.0.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
df58e43472d992af27139bf3435823faa7b28da89ecfe2b0d6c25d2f07aaa884
|
|
BLAKE2b-256 checksum How to use checksums |
2aa26f5122a9eff7af630cab5bf48bb8a91f9ad5a1483768257e57e2b71d9f40
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 16, 2026.
Transparency logRelease files / gitrepochecker-0.3.0-py3-none-any.whl
| Download URL | gitrepochecker-0.3.0-py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
51b280b577c1ff54441e6fceda2462b0b4dd8b86ef0ac9c02279d64f589c4148
|
|
BLAKE2b-256 checksum How to use checksums |
b6230308889eaa33932c1f221eac0645a874ba450cb5fd027a4211ca5995144f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 16, 2026.
Transparency log