git-summary

Crates.iogit-summary
lib.rsgit-summary
version0.1.1
sourcesrc
created_at2018-10-29 00:04:06.542452
updated_at2021-11-12 02:23:34.500314
descriptiongit-summary is a tool for checking the git status for an entire directory tree
homepagehttps://github.com/scottschroeder/git-summary-rs
repositoryhttps://github.com/scottschroeder/git-summary-rs
max_upload_size
id93229
size43,206
Scott Schroeder (scottschroeder)

documentation

https://github.com/scottschroeder/git-summary-rs

README

git-summary

Scan a directory recursively for git repos, and print the status of each.

dependency status

History

Why re-write?

I really liked this project, but I had quite a few repos in odd states (detached HEAD), and the bash script error handling left something to be desired. I also wanted to make tweaks to some of the behavior, and formatting.

Usage

git-summary
Runs a "git status" like operation in an entire directory tree.
Status Legend:
 ? - Untracked files
 + - Uncommitted new files
 M - Modified files
 ^ - Your branch is ahead of upstream
 v - Your branch is behind of upstream
 X - Issue attempting to fetch from upstream
USAGE:
    git-summary [FLAGS] [OPTIONS] [path]
FLAGS:
    -v               Sets the level of verbosity (-v warn, -vv info, -vvv debug, -vvvv trace)
    -l, --list       Just print a list of all git repos
    -q, --quiet      Print nothing for repos that are up to date.
    -f, --fetch      Perform a 'git fetch' in each repo before checking for unpushed/unpulled commits.
        --hidden     Check for git repos in hidden directories
        --shallow    Only search the directory provided, do NOT recurse.
    -h, --help       Prints help information
    -V, --version    Prints version information
OPTIONS:
        --parallel <parallel>    Max number of workers
ARGS:
    <path>    Path to folder containing git repos; if omitted, the current working directory is used
Commit count: 24

cargo fmt