Get status information about multiple Git repositories
Find a file
Deleh 8708d88df0
Merge pull request #1 from muritane/fix_no_home_folder
[install] change /home/USER -> HOME
2023-09-20 12:51:36 +02:00
flake.lock add flake 2023-09-16 13:53:34 +02:00
flake.nix update description 2023-09-19 11:06:37 +02:00
gis fix empty paths 2023-09-19 15:11:40 +02:00
install.bash [install] change /home/USER -> HOME 2023-09-20 10:38:27 +00:00
install.zsh [install] change /home/USER -> HOME 2023-09-20 10:38:27 +00:00
README.org update usage 2023-09-19 11:09:26 +02:00
screenshot.png update README 2023-09-17 00:18:58 +02:00

gis

gis is a Bash script which shows a status summary of multiple Git repositories.

It was inspired by wstool, vcstool and the default Starship prompt.

/denis/gis/media/commit/8708d88df0b6377e1cbd1a5e8cb4a1ef2fe3e983/screenshot.png

Usage

  Usage: gis [OPTIONS] [PATHS] ...

  Show a status summary of all Git repositories in PATHS.
  The colon-seperated environment variable $GIS_PATH is used if no PATH is given.
  If the variable isn't set, the current work directory is used.

  OPTIONS
    -f, --fetch  Execute 'git fetch --prune --all' for all repositories in PATHS
    -h, --help   Show this help message and exit

Installation

Place the gis script somewhere in your $PATH or use the provided install.{bash,zsh} scripts. Those will create a symlink in ~/.local/bin and update the respective ~/.{bash,zsh}rc.

Nix Flake

This repository is also a Nix Flake. gis is provided as package under github:Deleh/gis#gis.