Get status information about multiple Git repositories
Find a file
2023-09-22 09:23:57 +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 don't fetch before pull 2023-09-22 09:23:57 +02:00
install.bash [install] change /home/USER -> HOME 2023-09-20 10:38:27 +00:00
install.zsh fix typo 2023-09-21 15:16:00 +02:00
README.org don't fetch before pull 2023-09-22 09:23:57 +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/c1d456d6ebd40aa20505d4fb56eb1b2c43a010f1/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
    -p, --pull   Execute 'git pull' for all repositories which are behind upstream
                 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.