gitskan
A CLI tool for scanning directories and displaying Git repository status information. gitskan is a fork of gits-statuses which provides scripts to get a comprehensive overview of all your Git repositories in a clean, tabular format.
Notes:
gitskanwas catalyzed by this GitHub Issue- Implements a single CLI utility that is:
- Distributed and downloaded via PyPi
- Used globally as a bona fide CLI utility
- Easy to install and use for the end user
- Compatible with any terminal
Features
This scans your directories and displays:
Standard View:
- Repository name
- Current branch
- Commits ahead of remote
- Commits behind remote
- Changed files count
- Untracked files count
- Only shows repositories with changes (clean repos are hidden)
Detailed View:
- All columns from standard view
- Total commits count
- Status summary (e.g., "↑1 ~2 ?3" for 1 ahead, 2 changed, 3 untracked)
- Remote URL
- Shows ALL repositories (including clean ones)
Enhanced Summary:
- Total repositories found
- Repositories with changes
- Repositories ahead of remote
- Repositories behind remote
- Repositories with untracked files
Installation
Prerequisites
Install with uv (Recommended)
# Install gitskan
uv tool install gitskan
# Verify installation
gitskan --version
Usage
Basic Commands
# Basic usage - scan current directory
gitskan
# Detailed view with remote URLs and total commits
gitskan --detailed
# Scan a specific directory
gitskan --path /path/to/projects
# Show help
gitskan --help
Examples
Standard view (shows only repositories with changes):
Repository | Branch | Ahead | Behind | Changed | Untracked
-------------------------------------------------------------
gits-statuses | main | 1 | | 1 | 1
my-project | dev | 2 | | 3 | 2
web-app | main | | 2 | 1 |
Summary:
Total repositories: 5
Repositories with changes: 3
Repositories ahead of remote: 2
Repositories behind remote: 1
Repositories with untracked files: 2
Detailed view (shows all repositories):
Repository | Branch | Ahead | Behind | Changed | Untracked | Total Commits | Status | Remote URL
---------------------------------------------------------------------------------------------------------------
api-service | main | | | | | 45 | Clean | https://github.com/user/api-service
gits-statuses | main | 1 | | 1 | 1 | 9 | ↑1 ~1 ?1 | https://github.com/nicolgit/gits-statuses
my-project | dev | 2 | | 3 | 2 | 67 | ↑2 ~3 ?2 | https://github.com/user/my-project
utils-lib | main | | | | | 23 | Clean | https://github.com/user/utils-lib
web-app | main | | 2 | 1 | | 102 | ↓2 ~1 | https://github.com/user/web-app
Summary:
Total repositories: 5
Repositories with changes: 3
Repositories ahead of remote: 2
Repositories behind remote: 1
Repositories with untracked files: 2
Status Symbols
- ↑n: n commits ahead of remote
- ↓n: n commits behind remote
- ~n: n changed files (modified/added/deleted)
- ?n: n untracked files
- Clean: Repository has no pending changes
Examples:
↑2 ~1 ?3= 2 commits ahead, 1 changed file, 3 untracked files↓1 ~2= 1 commit behind, 2 changed filesClean= No changes, fully synchronized
Metadata
Release files for gitskan 0.1.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 | Provenance | Actions |
|---|---|---|---|---|
| gitskan-0.1.1.tar.gz | 19.9 kB | Without provenance | Details for gitskan-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gitskan-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for gitskan-0.1.1-py3-none-any.whl |
Total release size: 30.6 kB
Release files / gitskan-0.1.1.tar.gz
| Download URL | gitskan-0.1.1.tar.gz |
|---|---|
| Size | 19.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
29e3cd8c7b7d8adf4ffb881feaf4e2e239d012dfbc62526c917013f1769b03c2
|
|
BLAKE2b-256 checksum How to use checksums |
99cff47117a0f6c872f8065dbf39a7728e8753cd8e6075259af7c0133c27a679
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.6
|
Release files / gitskan-0.1.1-py3-none-any.whl
| Download URL | gitskan-0.1.1-py3-none-any.whl |
|---|---|
| Size | 10.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9a2d19eb523c968d8c52e359ce17d39cff899ad6a5d2aa3edbcac2c7d7dc567f
|
|
BLAKE2b-256 checksum How to use checksums |
903f53fee7024c735b220c599636414285094b8d8d9f3e150b3c0c6c36833cd0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.6
|
Security for gitskan 0.1.1
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.