gfold
gfold is a CLI application that helps you keep track of multiple Git repositories.
Description and Motivation
This app displays relevant information for multiple Git repositories in one, or multiple, directories. While this tool might seem limited in scope and purpose, that is by design.
It prints each repository in alphabetical order, and pads each result based on the longest directory, branch, and status string.
By default, gfold looks at every Git repository in the current working directory.
However, if you would like to target another directory, you can pass that path (relative or absolute) as the first argument.
Installation
You can use macOS Homebrew or Linuxbrew to install the tap.
If using a Linux distribution that supports installing packages from the AUR, you can install from three packages: gfold (builds from source), gfold-bin (uses the GitHub release binary), and gfold-git (VCS/development package). Many people choose to use an AUR helper, such as yay or paru, in order to install their AUR packages.
You can install the crate on any platform with cargo.
Keeping the crate up to date is easy with cargo-update.
You can obtain gfold via the latest GitHub release.
Once you have it downloaded, you can add it to your PATH.
You may have to reload your shell in order to see gfold in your PATH.
You can use symbolic links to swap between versions, and manage multiple at a time.
With this workflow, you can add/remove versions of the binary from /usr/local/gfold/, and change the symbolic link as needed.
Usage
For all the ways on how to use this application, pass in the -h, or --help, flag.
Here are some example invocations...
Compatibility
gfold, and its external crates, support all three major desktop platforms.
It is tested for the latest versions of the following systems, but may work on more...
- Linux:
linux-gnu-amd64 - macOS:
darwin-amd64 - Windows 10:
windows-amd64
Changelog
Please check out CHANGELOG.md for more information. It follows the Keep a Changelog format.
Code of Conduct
This repository follows and enforces the Rust programming language's Code of Conduct.
Additional Information
- Author: Nick Gerace
- License: Apache 2.0
Special Thanks To...
- @jrcichra for adding multi-OS support to the original CI pipeline
- @orhun for maintaining all three AUR packages
- @yaahc for mentoring