https://github.com/kyoh86/git-statuses
finds local git repositories and show statuses of them
https://github.com/kyoh86/git-statuses
cli-app git go golang
Last synced: about 1 year ago
JSON representation
finds local git repositories and show statuses of them
- Host: GitHub
- URL: https://github.com/kyoh86/git-statuses
- Owner: kyoh86
- License: mit
- Created: 2015-08-05T00:01:37.000Z (almost 11 years ago)
- Default Branch: main
- Last Pushed: 2024-06-18T18:03:46.000Z (about 2 years ago)
- Last Synced: 2024-06-19T23:36:26.858Z (about 2 years ago)
- Topics: cli-app, git, go, golang
- Language: Go
- Size: 213 KB
- Stars: 7
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# git-statuses
**git-statuses** finds local git repositories and show statuses of them.
[](https://pkg.go.dev/kyoh86/git-statuses)
[](https://goreportcard.com/report/github.com/kyoh86/git-statuses)
[](https://codecov.io/gh/kyoh86/git-statuses)
[](https://github.com/kyoh86/git-statuses/releases)
## Install
```
go install github.com/kyoh86/git-statuses@latest
```
## Usage
```sh
git statuses [--json] (pathspec)
```
or
```sh
cd (pathspec); git statuses [--json]
```
## Result
### Sample
```console
$ git statuses
-1 +2 U github.com/kyoh86/git-statuses
-1 U github.com/kyoh86/go-jsonrider
+3 M github.com/kyoh86/go-pcre
M github.com/kyoh86/gogh
MU github.com/kyoh86/mogelo
```
### Format
```
(status) (repository path)
(status) (repository path)
: :
```
|status|description |
|:----:|--------------------------------|
|`+n` |Contains ahead commits |
|`-n` |Contains behind commits |
|`M` |Contains deleted/modified files |
|`U` |Contains untracked files |
# LICENSE
[](http://www.opensource.org/licenses/MIT)
This is distributed under the [MIT License](http://www.opensource.org/licenses/MIT).