Crates.io | git-summary |
lib.rs | git-summary |
version | 0.1.1 |
source | src |
created_at | 2018-10-29 00:04:06.542452 |
updated_at | 2021-11-12 02:23:34.500314 |
description | git-summary is a tool for checking the git status for an entire directory tree |
homepage | https://github.com/scottschroeder/git-summary-rs |
repository | https://github.com/scottschroeder/git-summary-rs |
max_upload_size | |
id | 93229 |
size | 43,206 |
Scan a directory recursively for git repos, and print the status of each.
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.
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