{ git-guard-cli }

| #cli #dotnet #git

git-guard-cli

Answers one question across a whole machine: which of my repositories have uncommitted work in them?

What it's for

git-guard answers a single question across an entire machine: which of my repositories have work in them that is not committed? Point it at the folders where your clones live and one git-guard scan walks all of them, reporting each repository's path, its origin URL and whether the working tree is dirty.

It is useful the way a smoke alarm is useful — for the clone you forgot about three weeks ago, on a branch you meant to push before switching machines.

It is read-only. It does not fetch, pull, push, commit or stage anything; the only state it writes is its own list of monitored folders. What to do about a dirty repository is left to whoever reads the output.

The scope is deliberately narrow: not a git wrapper, not a multi-repo task runner, and not a replacement for git status in any one repository.

Install

dotnet tool install --global grdev.git-guard-cli

Published on NuGet as grdev.git-guard-cli.

Source

github.com/greek-developer/git-guard-cli.